fix(build): update build/watch configuration, switch to esbuild bundler and tswatch, and bump catalog and tooling dependencies

This commit is contained in:
2026-03-02 07:18:54 +00:00
parent d95270613b
commit bfcfef79da
7 changed files with 279 additions and 318 deletions

View File

@@ -17,15 +17,17 @@
"from": "./ts_web/index.ts",
"to": "./ts_bundled/bundle.ts",
"outputMode": "base64ts",
"watchPatterns": ["./ts_web/**/*"],
"triggerReload": true
"bundler": "esbuild",
"production": true,
"watchPatterns": ["./ts_web/**/*", "./html/**/*"],
"includeFiles": [{"from": "./html/index.html", "to": "index.html"}]
}
],
"watchers": [
{
"name": "backend",
"watch": "./ts/**/*",
"command": "deno run --allow-all mod.ts server",
"watch": ["./ts/**/*", "./ts_interfaces/**/*", "./ts_bundled/**/*"],
"command": "deno run --allow-all --unstable-ffi mod.ts server --ephemeral --monitor",
"restart": true,
"debounce": 500,
"runOnStart": true