Skip to content

Commit

Permalink
Merge pull request #6460 from nextcloud/backport/6452/stable30
Browse files Browse the repository at this point in the history
[stable30] fix(vite): set `NODE_ENV` in `package.json` scripts
  • Loading branch information
mejo- authored Sep 25, 2024
2 parents 91ccb9c + 252f7ca commit b8c337b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"module": "dist/index.js",
"main": "dist/index.js",
"scripts": {
"build": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode production build",
"dev": "NODE_OPTIONS='--max-old-space-size=4096' vite --mode development build",
"watch": "NODE_OPTIONS='--max-old-space-size=8192' vite --mode development build --watch",
"build": "NODE_ENV=production NODE_OPTIONS='--max-old-space-size=4096' vite --mode production build",
"dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=4096' vite --mode development build",
"watch": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=8192' vite --mode development build --watch",
"lint": "tsc && eslint --ext .js,.vue src cypress",
"lint:fix": "tsc && eslint --ext .js,.vue src cypress --fix",
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css css/*.scss",
Expand Down

0 comments on commit b8c337b

Please sign in to comment.