Skip to content

Commit

Permalink
Uglify in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 12, 2016
1 parent e5d25f0 commit f9af2d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.production.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module.exports = {
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"'
})
}),
new webpack.optimize.UglifyJsPlugin()
],
module: {
loaders: [
Expand Down

0 comments on commit f9af2d7

Please sign in to comment.