Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: KidLisp bundle + don't copy CL lib files as pieces

- Add --external flags for Node builtins so esbuild succeeds
- Remove stderr suppression so bundle errors are visible in logs
- Only copy .lisp pieces from pieces/ dir, not cl/ library code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+6 -3
+6 -3
fedac/native/docker-build.sh
··· 330 330 cd "$SRC" 331 331 npx esbuild system/public/aesthetic.computer/lib/kidlisp.mjs \ 332 332 --bundle --format=iife --global-name=KidLispModule --platform=neutral \ 333 - --outfile=/tmp/kidlisp-bundle.js 2>/dev/null || true 333 + --external:https --external:http --external:net --external:fs --external:path \ 334 + --outfile=/tmp/kidlisp-bundle.js 2>&1 || true 334 335 if [ -f /tmp/kidlisp-bundle.js ]; then 335 336 mkdir -p "$IROOT/jslib" 336 337 cp /tmp/kidlisp-bundle.js "$IROOT/jslib/" ··· 398 399 log " SBCL Swank: skipped (build failed, C-only build)" 399 400 fi 400 401 401 - # Copy CL pieces alongside JS pieces 402 - cp "$NATIVE/cl/"*.lisp "$IROOT/pieces/" 2>/dev/null || true 402 + # Copy CL pieces (only runnable .lisp pieces from pieces/ dir, not cl/ library) 403 + if ls "$NATIVE/pieces/"*.lisp 1>/dev/null 2>&1; then 404 + cp "$NATIVE/pieces/"*.lisp "$IROOT/pieces/" 405 + fi 403 406 CL_PIECES=$(ls "$IROOT/pieces/"*.lisp 2>/dev/null | wc -l) 404 407 log " CL pieces: $CL_PIECES" 405 408