Update build scripts to copy WASM file

- package.json: build script now copies ghostty-vt.wasm after bundling
- Add copy-wasm script for standalone WASM copy
- Makefile: bundle-watch copies WASM before watching
- Makefile: bundle-clean removes WASM file too
- Fix bun.lockb -> bun.lock in clean target
This commit is contained in:
GitHub Copilot
2026-01-28 00:56:01 +00:00
parent 3f6cfd4e96
commit 315b87eefe
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ bundle: node_modules
bun run build
bundle-watch: node_modules
bun run copy-wasm
bun run watch
bundle-clean:
rm -rf node_modules bun.lockb src/textual_webterm/static/js/terminal.js
rm -rf node_modules bun.lock src/textual_webterm/static/js/terminal.js src/textual_webterm/static/js/ghostty-vt.wasm