mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 06:42:14 +00:00
fixes for frontend build (#1660)
This commit is contained in:
1 parent
fc7651071c
commit
87d060e68c
1 file changed
+7
-1
@@ -1,6 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euxo pipefail
|
||||
set -euxo pipefail
|
||||
|
||||
# The webapp bundles every workspace lib's source into one large bundle, and the
|
||||
# vite-plugin-top-level-await (swc) transform over it exhausts V8's default heap on
|
||||
# Netlify's builder ("Reached heap limit / heap out of memory"). Raise the heap ceiling
|
||||
# for the build. (Caps don't pre-allocate; tasks only use what they need.)
|
||||
export NODE_OPTIONS="${NODE_OPTIONS:-} --max-old-space-size=8192"
|
||||
|
||||
echo "Run build script (TODO: Make strict)"
|
||||
nx build artcraft-webapp
|
||||
|
||||
Reference in new issue
Block a user