Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
beff450c58 |
@@ -18,16 +18,21 @@ const config = {
|
|||||||
libraryTarget: 'commonjs2',
|
libraryTarget: 'commonjs2',
|
||||||
devtoolModuleFilenameTemplate: '../[resource-path]'
|
devtoolModuleFilenameTemplate: '../[resource-path]'
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
// devtool: 'source-map',
|
||||||
externals: {
|
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/
|
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: {
|
resolve: {
|
||||||
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
||||||
extensions: ['.ts', '.js'],
|
extensions: ['.ts', '.js'],
|
||||||
plugins:[]
|
plugins:[]
|
||||||
},
|
},
|
||||||
stats:'minimal',
|
// stats:'minimal',
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"author": "Atreya Bain",
|
"author": "Atreya Bain",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publisher": "atreyabain",
|
"publisher": "atreyabain",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"icon": "assets/128.png",
|
"icon": "assets/128.png",
|
||||||
"categories": [],
|
"categories": [],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@@ -17,11 +17,16 @@ const config = {
|
|||||||
libraryTarget: 'commonjs2',
|
libraryTarget: 'commonjs2',
|
||||||
devtoolModuleFilenameTemplate: '../[resource-path]'
|
devtoolModuleFilenameTemplate: '../[resource-path]'
|
||||||
},
|
},
|
||||||
stats:'minimal',
|
// stats:'minimal',
|
||||||
devtool: 'source-map',
|
// devtool: 'source-map',
|
||||||
externals: {
|
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/
|
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: {
|
resolve: {
|
||||||
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
||||||
extensions: ['.ts', '.js'],
|
extensions: ['.ts', '.js'],
|
||||||
|
Reference in New Issue
Block a user