process.env.NODE_ENV = 'production'; var productionWebpackConfigrequire('./frontend_build/baseWebpackConfig'); var ParallelUglifyPluginrequire('webpack-parallel-uglify-plugin'); if (!process.env.JS_BUILD_NO_UGLIFY) { productionWebpackConfig.plugins.push(new ParallelUglifyPlugin({ uglifyJS: { compress: { screw_ie8: true , warnings: true } , mangle: { screw_ie8: true } , output: { comments: false , screw_ie8: true } } } )); } module.exports = productionWebpackConfig;