diff --git a/package.json b/package.json index a3e44474b8b7c9ffc2a1762803eb282920107b6b..fe2c23ccb24e3bbe646167432ab533bc5d17209d 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "license": "Apache-2.0", "scripts": { "dev": "vite --force", - "build": "vite build", - "build:docker": "vite build --outDir ./docker/dist/", + "build": "NODE_OPTIONS=--max-old-space-size=4096 vite build", + "build:docker": "NODE_OPTIONS=--max-old-space-size=4096 vite build --outDir ./docker/dist/", "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src", "prettier": "prettier --write ." },