Skip to content

Commit

Permalink
Merge pull request #1301 from samon127/master
Browse files Browse the repository at this point in the history
 update uglifyjs-webpack-plugin to ^1.0.0
  • Loading branch information
JeffreyWay committed Nov 5, 2017
2 parents 9a0cbbc + e21df11 commit 8f8b5f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"sass-loader": "^6.0.5",
"style-loader": "^0.18.1",
"uglify-js": "^2.8.28",
"uglifyjs-webpack-plugin": "^0.4.6",
"uglifyjs-webpack-plugin": "^1.0.0",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.0.0",
"webpack": "^3.5.0",
Expand Down
16 changes: 9 additions & 7 deletions src/config.js
Expand Up @@ -245,13 +245,15 @@ module.exports = function () {
* @type {Object}
*/
uglify: {
sourceMap: true,
compress: {
warnings: false,
drop_console: true,
},
output: {
comments: false
uglifyOptions: {
sourceMap: true,
compress: {
warnings: false,
drop_console: true,
},
output: {
comments: false
}
}
},

Expand Down

0 comments on commit 8f8b5f1

Please sign in to comment.