give webpack more memory to build
This commit is contained in:
parent
4091aca554
commit
142189fd27
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
},
|
},
|
||||||
"main": "./dist/electron/main.js",
|
"main": "./dist/electron/main.js",
|
||||||
"scripts": {
|
"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: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",
|
"compile": "cross-env NODE_ENV=production yarn compile:electron && cross-env NODE_ENV=production yarn compile:web",
|
||||||
"dev": "yarn dev:electron",
|
"dev": "yarn dev:electron",
|
||||||
|
|
Loading…
Reference in a new issue