Commit graph grid-apps-cmms/bin/esbuild.config.mjs
Author SHA1 Message Date
Gary Ingle
6ba7507938 fix: add missing await on mkdir and node:module external in esbuild config
- Add await to fs.mkdir() call in generateDevices() (line 60). Without
  this, writeFile can race ahead of directory creation, causing ENOENT
  on clean builds or slower machines.
- Add 'node:module' to the externals array. Node.js treats 'module' and
  'node:module' as distinct specifiers; esbuild fails to resolve the
  prefixed form when bundling for the browser target.

Discovered during Docker builds on ARM64 where the race window is wider
due to slower I/O. Also reproduces on x86_64 with a clean src/pack/.
2026-07-26 13:52:55 -04:00
Stewart Allen
02fb3cd30d merge experimental void app 2026-02-14 19:00:48 -05:00
Stewart Allen
becb464715 update esbuild target 2026-02-01 11:23:06 -05:00
Stewart Allen
fc63f395a4 reflow build/serve of alt, update app-server dep for proper fallthrough handling 2025-11-13 11:32:15 -05:00
Stewart Allen
4737c49ed3 update npm scripts 2025-11-12 01:27:33 -05:00
Stewart Allen
a5c3c30190 append base64js for production build 2025-09-10 14:22:09 -04:00
Stewart Allen
1b268f7ae5 patch to allow jspoly in prod 2025-07-27 13:22:49 -04:00
Stewart Allen
2ddd07eecf simplify esbuild config 2025-07-09 19:05:18 -04:00
Stewart Allen
43104fa5ac move src/kiri/* to src/kiri/core and src/kiri-*/ to src/kiri/* and updated all imports 2025-07-09 13:00:52 -04:00
Stewart Allen
3e48baf66f get frame api working again, add missing build files 2025-07-09 02:05:25 -04:00