Skip to content

Commit

Permalink
Reverted unintended changes to the gulpfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jul 7, 2016
1 parent 2a55adc commit 8512134
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gulpfile.js
Expand Up @@ -95,6 +95,17 @@ gulp.task( 'react:build', function( done ) {
process.env.NODE_ENV = 'production';

var config = getWebpackConfig();
config.plugins = config.plugins.concat(
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin( {
compress: {
warnings: false
}
} )
);

config.devtool = 'source-map';
config.debug = false;

webpack( config ).run( onBuild( done ) );
} );
Expand Down

0 comments on commit 8512134

Please sign in to comment.