I\'m using webpack for a Node framework that I\'m building (though I should probably use gulp, admittedly). When I include the EJS module, webpack includes it in the compile
Try use absolute path:
exclude:path.resolve(__dirname, "node_modules")