diff --git a/webview_panels/package.json b/webview_panels/package.json index a2b138a83..e3fee714f 100644 --- a/webview_panels/package.json +++ b/webview_panels/package.json @@ -11,7 +11,7 @@ "scripts": { "dev": "vite", "watch": "rm -Rf ./dist; tsc && vite build --watch", - "build": "rm -Rf ./dist; tsc && vite build && vite build --config vite.config.renderer.ts --emptyOutDir=false", + "build": "rm -Rf ./dist; NODE_OPTIONS=--max-old-space-size=16384 tsc && vite build && vite build --config vite.config.renderer.ts --emptyOutDir=false", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 7", "preview": "vite preview", "storybook": "storybook dev -p 6006",