1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-04 17:43:39 +00:00

Move max-old-space-size to .npmrc (#16192)

* Move max-old-space-size to .npmrc

* Remove redundant environment variables

* Add comment
This commit is contained in:
Thomas Rittson
2025-08-29 22:49:28 +10:00
committed by GitHub
parent 97ee61db00
commit 381adf9305
5 changed files with 13 additions and 10 deletions

View File

@@ -18,14 +18,14 @@
"license": "SEE LICENSE IN LICENSE.txt",
"scripts": {
"clean": "rimraf dist",
"build:oss": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" webpack",
"build:oss": "webpack",
"build:oss:debug": "npm run build:oss && node --inspect ./build/bw.js",
"build:oss:watch": "webpack --watch",
"build:oss:prod": "cross-env NODE_ENV=production webpack",
"build:oss:prod:watch": "cross-env NODE_ENV=production webpack --watch",
"debug": "node --inspect ./build/bw.js",
"publish:npm": "npm run build:oss:prod && npm publish --access public",
"build:bit": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" webpack -c ../../bitwarden_license/bit-cli/webpack.config.js",
"build:bit": "webpack -c ../../bitwarden_license/bit-cli/webpack.config.js",
"build:bit:debug": "npm run build:bit && node --inspect ./build/bw.js",
"build:bit:watch": "webpack --watch -c ../../bitwarden_license/bit-cli/webpack.config.js",
"build:bit:prod": "cross-env NODE_ENV=production npm run build:bit",