ambidex icon indicating copy to clipboard operation
ambidex copied to clipboard

Non hot-module mode causes expensive use of memory, more than 1G of mem

Open sebas5384 opened this issue 9 years ago • 0 comments

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.

sebas5384 avatar Mar 14 '15 21:03 sebas5384