1 Commits
0.0.3 ... 0.0.4

Author SHA1 Message Date
beff450c58 [webpack] minify aggresively 2021-04-18 11:52:42 +05:30
3 changed files with 15 additions and 5 deletions

View File

@@ -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: [
{

View File

@@ -5,7 +5,7 @@
"author": "Atreya Bain",
"license": "MIT",
"publisher": "atreyabain",
"version": "0.0.3",
"version": "0.0.4",
"icon": "assets/128.png",
"categories": [],
"keywords": [

View File

@@ -17,11 +17,16 @@ const config = {
libraryTarget: 'commonjs2',
devtoolModuleFilenameTemplate: '../[resource-path]'
},
stats:'minimal',
devtool: 'source-map',
// stats:'minimal',
// 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'],