diff --git a/package.json b/package.json index b933a6a870..0831a27c62 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "start": "node ./built", "debug": "DEBUG=misskey:* node ./built", "swagger": "node ./swagger.js", - "build": "./node_modules/.bin/webpack && gulp build", - "webpack": "./node_modules/.bin/webpack", + "build": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js && gulp build", + "webpack": "node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js", "gulp": "gulp build", "rebuild": "gulp rebuild", "clean": "gulp clean",