Skip to content

Commit

Permalink
chore: Increase heap size when building
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Aug 26, 2023
1 parent 9bcfba6 commit 60ed7d3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/editor.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/usr/bin/env bash

# Fail on errors
set -euxo pipefail

# Increase heap size
export NODE_OPTIONS="--max_old_space_size=4096"

# Build mermaid
pnpm build

# Clone the Mermaid Live Editor repository
Expand Down

0 comments on commit 60ed7d3

Please sign in to comment.