Compare commits

...
Author SHA1 Message Date
Brandon Thomas 6f67ee2309 fixes for frontend build 2026-06-16 03:03:13 -04:00
@@ -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