From 6ba576b5ded37d11133ea46e7f695bb462016e94 Mon Sep 17 00:00:00 2001 From: Michael Hahn Date: Sat, 4 Jun 2016 22:30:16 -0700 Subject: [PATCH] Handle maximum call stack --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e7c2ce2a8dde7a..42bbca64e6e51b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "scripts": { "build": "npm run build:icon-index && npm run build:babel && npm run build:copy-files", "build:icon-index": "babel-node ./scripts/icon-index-generator.js", - "build:babel": "babel ./src --ignore *.spec.js --out-dir ./build", + "build:babel": "node --stack-size=10000 ./node_modules/.bin/babel ./src --ignore *.spec.js --out-dir ./build", "build:copy-files": "babel-node ./scripts/copy-files.js", "clean:build": "rimraf build", "lint": "eslint src docs/src test/browser test/unit && echo \"eslint: no lint errors\"",