File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 274274 }
275275 },
276276 "scripts" : {
277- "build" : " npm run build:webview && npm run vsix" ,
277+ "build" : " npm run vsix" ,
278278 "build:webview" : " cd webview-ui && npm run build" ,
279+ "build:esbuild" : " node esbuild.js --production" ,
279280 "compile" : " tsc -p . --outDir out && node esbuild.js" ,
280281 "install:all" : " npm install npm-run-all && npm run install:_all" ,
281282 "install:_all" : " npm-run-all -p install-*" ,
293294 "check-types:webview" : " cd webview-ui && npm run check-types" ,
294295 "check-types:e2e" : " cd e2e && npm run check-types" ,
295296 "check-types:benchmark" : " cd benchmark && npm run check-types" ,
296- "package" : " npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production " ,
297+ "package" : " npm- run-all -p build:webview build:esbuild check-types lint" ,
297298 "pretest" : " npm run compile" ,
298299 "dev" : " cd webview-ui && npm run dev" ,
299300 "test" : " npm-run-all -p test:*" ,
Original file line number Diff line number Diff line change 99 "check-types" : " tsc" ,
1010 "test" : " jest" ,
1111 "dev" : " vite" ,
12- "build" : " tsc -b && vite build" ,
12+ "tsc" : " tsc -b" ,
13+ "vite-build" : " vite build" ,
14+ "build" : " npm-run-all -p tsc vite-build" ,
1315 "preview" : " vite preview" ,
1416 "storybook" : " storybook dev -p 6006" ,
1517 "build-storybook" : " storybook build" ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export default defineConfig({
1414 } ,
1515 build : {
1616 outDir : "build" ,
17+ reportCompressedSize : false ,
1718 rollupOptions : {
1819 output : {
1920 entryFileNames : `assets/[name].js` ,
You can’t perform that action at this time.
0 commit comments