Add in NODE_OPTIONS for Build Safari job (#10213)
* Add in NODE_OPTIONS for Build Safari job * BRE-219 REFACTOR: Set--max-old-space-size in package.json build:prod script --------- Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
This commit is contained in:
parent
f63ab065a4
commit
174f4072cc
|
@ -6,7 +6,7 @@
|
|||
"build:mv2": "webpack",
|
||||
"build:watch": "cross-env MANIFEST_VERSION=3 webpack --watch",
|
||||
"build:watch:mv2": "webpack --watch",
|
||||
"build:prod": "cross-env NODE_ENV=production webpack",
|
||||
"build:prod": "cross-env NODE_ENV=production NODE_OPTIONS=\"--max-old-space-size=4096\" webpack",
|
||||
"build:prod:beta": "cross-env BETA_BUILD=1 NODE_ENV=production webpack",
|
||||
"build:prod:watch": "cross-env NODE_ENV=production webpack --watch",
|
||||
"dist": "npm run build:prod && gulp dist",
|
||||
|
|
Loading…
Reference in New Issue