File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ else if (process.argv.includes('--watch')) {
2929 ctx . watch ( ) ;
3030 } ) ;
3131}
32+
3233// Regular build
3334else {
3435 esbuild . buildSync ( baseConfig ) ;
Original file line number Diff line number Diff line change 6464 }
6565 },
6666 "scripts" : {
67- "vscode:prepublish" : " NODE_ENV=production npm run compile" ,
68- "compile" : " npm run lint && npm run typecheck && node esbuild.config.js" ,
67+ "vscode:prepublish" : " NODE_ENV=production npm run bundle" ,
68+ "bundle" : " npm run lint && npm run typecheck && node esbuild.config.js" ,
69+ "package" : " vsce package" ,
6970 "watch" : " node esbuild.config.js --watch" ,
7071 "typecheck" : " tsc -p ./" ,
7172 "format" : " prettier --write src/**/*.ts" ,
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "module" : " Node16 " ,
3+ "module" : " NodeNext " ,
44 "target" : " ES2022" ,
5- "outDir" : " out" ,
65 "lib" : [
76 " ES2022"
87 ],
9- "sourceMap" : true ,
108 "rootDir" : " src" ,
119 "strict" : true ,
12- "noEmitOnError " : false
10+ "noEmit " : true
1311 }
1412}
You can’t perform that action at this time.
0 commit comments