aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-21 02:56:20 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-21 02:56:20 +0800
commitd9a282bd92c155edba0fafe688df85a5576f210a (patch)
tree0395693c1ce1fbdee4b6532aa662b331333b56e5
parentcce2127f7252830723fafede929b3ce222afeccd (diff)
downloaddexon-0x-contracts-d9a282bd92c155edba0fafe688df85a5576f210a.tar.gz
dexon-0x-contracts-d9a282bd92c155edba0fafe688df85a5576f210a.tar.zst
dexon-0x-contracts-d9a282bd92c155edba0fafe688df85a5576f210a.zip
Increase node heap size for webpack command
-rw-r--r--packages/website/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/package.json b/packages/website/package.json
index 3bcc585c7..99fd7cff3 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -7,7 +7,7 @@
"private": true,
"description": "Website and 0x portal dapp",
"scripts": {
- "build": "NODE_ENV=production webpack; exit 0;",
+ "build": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack; exit 0;",
"clean": "shx rm -f public/bundle*",
"lint": "tslint --project . 'ts/**/*.ts' 'ts/**/*.tsx'",
"watch_without_deps": "webpack-dev-server --content-base public --https",