Skip to content

Commit 071d76e

Browse files
committed
set heap option before very first node.js call
1 parent 6b3b28f commit 071d76e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.circleci/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
working_directory: ~/plotly.js
1515
steps:
1616
- checkout
17+
- run:
18+
name: set heap option before very first node.js call
19+
command: |
20+
export NODE_OPTIONS='--max-old-space-size=4096'
1721
- run:
1822
name: Install dependencies
1923
command: |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"plotly"
2222
],
2323
"scripts": {
24-
"preprocess": "export NODE_OPTIONS='--max-old-space-size=4096' && node tasks/preprocess.js",
24+
"preprocess": "node tasks/preprocess.js",
2525
"bundle": "node tasks/bundle.js",
2626
"header-dist": "node tasks/header_dist.js",
2727
"stats": "node tasks/stats.js",

0 commit comments

Comments
 (0)