File tree 4 files changed +4
-0
lines changed
4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const baseConfig = {
16
16
const extensionConfig = {
17
17
...baseConfig ,
18
18
platform : "node" ,
19
+ mainFields : [ "module" , "main" ] ,
19
20
format : "cjs" ,
20
21
entryPoints : [ "./src/extension.ts" ] ,
21
22
outfile : "./out/extension.js" ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const baseConfig = {
15
15
const extensionConfig = {
16
16
...baseConfig ,
17
17
platform : "node" ,
18
+ mainFields : [ "module" , "main" ] ,
18
19
format : "cjs" ,
19
20
entryPoints : [ "./src/extension.ts" ] ,
20
21
outfile : "./out/extension.js" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const baseConfig = {
16
16
const extensionConfig = {
17
17
...baseConfig ,
18
18
platform : "node" ,
19
+ mainFields : [ "module" , "main" ] ,
19
20
format : "cjs" ,
20
21
entryPoints : [ "./src/extension.ts" ] ,
21
22
outfile : "./out/extension.js" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const baseConfig = {
16
16
const extensionConfig = {
17
17
...baseConfig ,
18
18
platform : "node" ,
19
+ mainFields : [ "module" , "main" ] ,
19
20
format : "cjs" ,
20
21
entryPoints : [ "./src/extension.ts" ] ,
21
22
outfile : "./out/extension.js" ,
You can’t perform that action at this time.
0 commit comments