From 142189fd27018d135f55caa84b8241e157109266 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 4 Feb 2020 15:32:55 -0500 Subject: [PATCH] give webpack more memory to build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d0f52e61..6c4ff4575 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "main": "./dist/electron/main.js", "scripts": { - "compile:electron": "webpack --config webpack.electron.config.js", + "compile:electron": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --config webpack.electron.config.js", "compile:web": "cd ./lbrytv && webpack --config webpack.config.js", "compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web", "dev": "yarn dev:electron",