diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-21 02:56:20 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-21 02:56:20 +0800 |
commit | d9a282bd92c155edba0fafe688df85a5576f210a (patch) | |
tree | 0395693c1ce1fbdee4b6532aa662b331333b56e5 /packages/website | |
parent | cce2127f7252830723fafede929b3ce222afeccd (diff) | |
download | dexon-sol-tools-d9a282bd92c155edba0fafe688df85a5576f210a.tar.gz dexon-sol-tools-d9a282bd92c155edba0fafe688df85a5576f210a.tar.zst dexon-sol-tools-d9a282bd92c155edba0fafe688df85a5576f210a.zip |
Increase node heap size for webpack command
Diffstat (limited to 'packages/website')
-rw-r--r-- | packages/website/package.json | 2 |
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", |