[webpack] minify aggresively
This commit is contained in:
@@ -18,16 +18,21 @@ const config = {
|
||||
libraryTarget: 'commonjs2',
|
||||
devtoolModuleFilenameTemplate: '../[resource-path]'
|
||||
},
|
||||
devtool: 'source-map',
|
||||
// devtool: 'source-map',
|
||||
externals: {
|
||||
vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
|
||||
},
|
||||
optimization:{
|
||||
minimize:true,
|
||||
innerGraph:true,
|
||||
usedExports:true
|
||||
},
|
||||
resolve: {
|
||||
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
||||
extensions: ['.ts', '.js'],
|
||||
plugins:[]
|
||||
},
|
||||
stats:'minimal',
|
||||
// stats:'minimal',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
Reference in New Issue
Block a user