Files
artcraft/frontend_old/realtime/script/netlify_build.sh
Brandon Thomas 82effe0ce9 add nx for javascript monorepos and move 3d under it (#497)
this required the following:

- downgrading nx react (19 -> 18.2)
- .npmrc credentials for fontawesome
- installing a lot of nx plugins from the vanilla config
- removing kalidokit vendored code and all references to it
2025-04-10 23:15:23 -04:00

20 lines
331 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
echo "Run build script (TODO: Make strict)"
yarn run build2
echo "Copy test files into dist"
cp -r test/* dist/
echo "Copy netlify configs into dist"
cp _headers dist/
cp _redirects dist/
echo "Copy netlify 404.html page into dist"
cp "404.html" dist/
echo "List files after build"
find dist/