Remove unnecessary uglify options
New options : terserOptions: { output: { ecma: 5, comments: false, ascii_only: true }, parse: { ecma: 8 }, compress: { ecma: 5, warnings: false, comparisons: false }, mangle: { safari10: true } } }
This commit is contained in:
parent
2f633b5d23
commit
d72cead7ff
1 changed files with 0 additions and 4 deletions
|
@ -2,8 +2,4 @@ process.env.NODE_ENV = process.env.NODE_ENV || 'production';
|
|||
|
||||
const environment = require('./environment');
|
||||
|
||||
// https://github.com/rails/webpacker/issues/1235
|
||||
environment.config.optimization.minimizer[0].options.uglifyOptions.ecma = 5; // for IE 11 support
|
||||
environment.config.optimization.minimizer[0].options.uglifyOptions.safari10 = true;
|
||||
|
||||
module.exports = environment.toWebpackConfig();
|
||||
|
|
Loading…
Reference in a new issue