File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 " *.d.ts" ,
88 " **/#/**" ,
99 " **/coverage/**" ,
10- " **/tests/**"
10+ " **/tests/**" ,
11+ " CHANGELOG.md"
1112 ],
1213 "dictionaries" : [
1314 " typescript" ,
Original file line number Diff line number Diff line change @@ -11,9 +11,13 @@ module.exports = {
1111 target : 'node' ,
1212 devtool : 'source-map' ,
1313 mode : 'production' ,
14+ node : {
15+ __dirname : false ,
16+ } ,
1417 output : {
1518 filename : 'extension.js' ,
1619 path : resolve ( tsconfigBuild . compilerOptions . outDir ) ,
20+ libraryTarget : 'commonjs' ,
1721 } ,
1822 module : {
1923 rules : [
@@ -35,7 +39,9 @@ module.exports = {
3539 extensions : [ '.ts' , '.js' ] ,
3640 plugins : [ new TsconfigPathsPlugin ( { configFile : './tsconfig.build.json' } ) ] ,
3741 } ,
38- externals : [ / ^ v s c o d e / i] ,
42+ externals : {
43+ vscode : 'commonjs vscode' ,
44+ } ,
3945 resolveLoader : {
4046 modules : [ resolve ( './node_modules' ) ] ,
4147 } ,
You can’t perform that action at this time.
0 commit comments