mirror of
https://github.com/yudai/gotty.git
synced 2026-02-21 15:34:08 +01:00
Minify bundled js code
This commit is contained in:
parent
2b4eb55d28
commit
024ab8f28e
6 changed files with 537 additions and 23967 deletions
|
|
@ -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()
|
||||
]
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue