mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
chore: Increase heap size when building
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Fail on errors
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
|
# Increase heap size
|
||||||
|
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
|
|
||||||
|
# Build mermaid
|
||||||
pnpm build
|
pnpm build
|
||||||
|
|
||||||
# Clone the Mermaid Live Editor repository
|
# Clone the Mermaid Live Editor repository
|
||||||
|
Reference in New Issue
Block a user