diff --git a/apps/browser/package.json b/apps/browser/package.json index 3c8eb50f38..bbcf0badbc 100644 --- a/apps/browser/package.json +++ b/apps/browser/package.json @@ -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",