In Webpack, I have the following plugins:
plugins: [ new ExtractTextPlugin(\'styles.css\'), new webpack.optimize.UglifyJsPlugin({ com
Without variables it will look like this:
plugins: [ new ExtractTextPlugin('styles.css'), (TARGET === 'build') && new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false }, drop_console: true, }), ].filter(function(plugin) { return plugin !== false; })