ambidex
ambidex copied to clipboard
Non hot-module mode causes expensive use of memory, more than 1G of mem
Actually appears to be UglifyJs fault:
if (options.hasOwnProperty("minimizeFileSize") && options.minimizeFileSize) {
settings.plugins.push(
new Webpack.optimize.UglifyJsPlugin(
{
"output": {
"inline_scripts": true
}
}
)
);
}
When I comment this lines, the bundle is building without problems.
This is a problem when you have a machine (or a Vagrant box) running with 1G as a limit.