left4me/l4d2web/scripts
mwiegand 6af2e41fd8
feat(editor-v2): build script + first bundle output
build-editor.sh runs npm install + esbuild from editor-src/, produces:
- editor.bundle.js  324.6 KB minified IIFE, sets window.__editor.mount
- editor.bundle.css 0 B placeholder (cm6 injects styles at runtime
  via StyleModule; future extensions that need real CSS can drop into
  the same file without a template change)
- editor.bundle.sha256 integrity hashes

The script uses $TMPDIR/npm-cache (override via NPM_CACHE env var)
to work around root-owned files in the default ~/.npm cache from
older npm versions (the env's `npm ci` rejected the default cache).

vendor/README.md documents the rebuild command, the cache override,
and the integrity-record convention.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 01:58:46 +02:00
..
editor-src feat(editor-v2): editor-entry façade wiring all extensions 2026-05-17 01:57:23 +02:00
build-editor.sh feat(editor-v2): build script + first bundle output 2026-05-17 01:58:46 +02:00
build-vocab.py feat(editor-v2): vocab generator + cvar_list-derived JSON 2026-05-17 01:55:33 +02:00