You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exact amount of heap space required varies from computer to computer and version
91
+
of `node`. If you need a local production build, but run out of memory, you can
92
+
increase the heap size by adding `--node-options '--max_old_space_size=8192'` (to
93
+
[assign 8gb of heap space](https://stackoverflow.com/questions/48387040/how-do-i-determine-the-correct-max-old-space-size-for-node-js/48392705#48392705))
94
+
to the [`npm` command](https://docs.npmjs.com/cli/v8/using-npm/config#node-options),
95
+
prior to `run`. For instance:
96
+
97
+
```sh
98
+
ELEVENTY_ENV=prod npm --node-options '--max_old_space_size=8192' run build
99
+
```
100
+
81
101
## Staging 🕺
82
102
83
103
When you send in a pull request it will be automatically staged for you. Keep an
0 commit comments