Commit 024ab8f2 by Iwasaki Yudai

Minify bundled js code

1 parent 2b4eb55d
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -2,10 +2,11 @@
"devDependencies": {
"ts-loader": "^2.0.3",
"typescript": "^2.3.2",
"uglifyjs-webpack-plugin": "^1.0.0-beta.2",
"webpack": "^2.5.1"
},
"dependencies": {
"libapps": "github:yudai/libapps#hterm-1.70",
"libapps": "github:yudai/libapps#release-hterm-1.70",
"xterm": "^2.7.0"
}
}
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()
]
};
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!