mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
perf: optimize build process for parallel execution (#1801)
This commit is contained in:
parent
6b8010f50c
commit
418c15d416
3 changed files with 7 additions and 3 deletions
|
|
@ -274,8 +274,9 @@
|
|||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:webview && npm run vsix",
|
||||
"build": "npm run vsix",
|
||||
"build:webview": "cd webview-ui && npm run build",
|
||||
"build:esbuild": "node esbuild.js --production",
|
||||
"compile": "tsc -p . --outDir out && node esbuild.js",
|
||||
"install:all": "npm install npm-run-all && npm run install:_all",
|
||||
"install:_all": "npm-run-all -p install-*",
|
||||
|
|
@ -293,7 +294,7 @@
|
|||
"check-types:webview": "cd webview-ui && npm run check-types",
|
||||
"check-types:e2e": "cd e2e && npm run check-types",
|
||||
"check-types:benchmark": "cd benchmark && npm run check-types",
|
||||
"package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
|
||||
"package": "npm-run-all -p build:webview build:esbuild check-types lint",
|
||||
"pretest": "npm run compile",
|
||||
"dev": "cd webview-ui && npm run dev",
|
||||
"test": "npm-run-all -p test:*",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@
|
|||
"check-types": "tsc",
|
||||
"test": "jest",
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"tsc": "tsc -b",
|
||||
"vite-build": "vite build",
|
||||
"build": "npm-run-all -p tsc vite-build",
|
||||
"preview": "vite preview",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"build-storybook": "storybook build",
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export default defineConfig({
|
|||
},
|
||||
build: {
|
||||
outDir: "build",
|
||||
reportCompressedSize: false,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: `assets/[name].js`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue