fix: remove --omit=optional from frontend npm install (rollup native deps)
This commit is contained in:
@ -65,7 +65,7 @@ echo ""
|
|||||||
echo "=== Building frontend ==="
|
echo "=== Building frontend ==="
|
||||||
cd "$REPO_DIR/frontend"
|
cd "$REPO_DIR/frontend"
|
||||||
rm -rf node_modules package-lock.json
|
rm -rf node_modules package-lock.json
|
||||||
npm install --omit=optional --package-lock=false
|
npm install --package-lock=false
|
||||||
NODE_OPTIONS="--max-old-space-size=512" npm run build
|
NODE_OPTIONS="--max-old-space-size=512" npm run build
|
||||||
echo "Frontend built → $REPO_DIR/frontend/dist/"
|
echo "Frontend built → $REPO_DIR/frontend/dist/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user