File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 6
6
"icon" : " icon.png" ,
7
7
"publisher" : " redhat" ,
8
8
"license" : " Apache-2.0" ,
9
+ "type" : " module" ,
9
10
"engines" : {
10
11
"podman-desktop" : " ^1.6.3"
11
12
},
12
- "main" : " ./dist/extension.js " ,
13
+ "main" : " ./dist/extension.cjs " ,
13
14
"contributes" : {
14
15
"configuration" : {}
15
16
},
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"lib" : [" ES2017" , " webworker" ],
4
+ "module" : " ESNext" ,
5
+ "target" : " ESNext" ,
4
6
"sourceMap" : true ,
5
7
"rootDir" : " src" ,
6
8
"outDir" : " dist" ,
7
9
"skipLibCheck" : true ,
8
- "types" : [ "node" ]
10
+ "types" : [" node" ],
11
+ "moduleResolution" : " Node" ,
12
+ "esModuleInterop" : true
9
13
},
10
14
"include" : [" src" ]
11
15
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const config = {
51
51
...builtinModules . flatMap ( p => [ p , `node:${ p } ` ] ) ,
52
52
] ,
53
53
output : {
54
- entryFileNames : '[name].js ' ,
54
+ entryFileNames : '[name].cjs ' ,
55
55
} ,
56
56
} ,
57
57
emptyOutDir : true ,
You can’t perform that action at this time.
0 commit comments