Skip to content

Commit

Permalink
fix (temporary) npm run build:prod
Browse files Browse the repository at this point in the history
  • Loading branch information
cj-dimaano committed May 9, 2017
1 parent 29e1487 commit 2f5861a
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,19 @@ module.exports = (env = {}) => { // pass command line arguments like `webpack ..
plugins: [
new webpack.NoEmitOnErrorsPlugin(),

/*** # 5/9/2017 ***/
/*** See: https://github.com/webpack/webpack/issues/2545#issuecomment-300134407 ***/
/*** Removing uglify for the time being. ***/
/*** See also: https://github.com/webpack-contrib/uglifyjs-webpack-plugin ***/
/*** for up-to-date instructions on how to use the webpack uglify plugin. ***/
// Note because our project is ES6, we're using the harmony branch of uglifyjs
new webpack.optimize.UglifyJsPlugin({
debug: false,
minimize: true,
output: {
comments: false
},
}),
// new webpack.optimize.UglifyJsPlugin({
// debug: false,
// minimize: true,
// output: {
// comments: false
// },
// }),
]
};

Expand Down

0 comments on commit 2f5861a

Please sign in to comment.