Minify bundled js code

This commit is contained in:
Iwasaki Yudai 2017-08-22 16:58:15 +09:00
parent 2b4eb55d28
commit 024ab8f28e
6 changed files with 537 additions and 23967 deletions

View file

@ -1,3 +1,5 @@
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
entry: "./src/main.ts",
output: {
@ -15,5 +17,8 @@ module.exports = {
exclude: [/node_modules/],
}
]
}
},
plugins: [
new UglifyJSPlugin()
]
};