demarches-normaliennes/config/webpack/production.js
Paul Chavard d72cead7ff 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 } } }
2019-05-02 14:10:48 +02:00

5 lines
157 B
JavaScript

process.env.NODE_ENV = process.env.NODE_ENV || 'production';
const environment = require('./environment');
module.exports = environment.toWebpackConfig();