build: increase webpack memory (#3878)

* build: increase webpack memory

* ci: update cache utility
This commit is contained in:
Erez Rokah
2020-06-09 12:46:58 +03:00
committed by GitHub
parent d4a7d88175
commit 0bdddfd43b
5 changed files with 10 additions and 7 deletions

View File

@ -7,7 +7,8 @@
"bugs": "https://github.com/netlify/netlify-cms/issues",
"main": "dist/netlify-cms.js",
"scripts": {
"build": "cross-env NODE_ENV=production webpack",
"webpack": "node --max_old_space_size=4096 ../../node_modules/webpack/bin/webpack.js",
"build": "cross-env NODE_ENV=production run-s webpack",
"build-preview": "cross-env NODE_ENV=production webpack-dev-server --open",
"develop": "webpack-dev-server --hot"
},