Bundle tui3 into dist/ and run the bundle

Running the TypeScript sources makes Bun compile and keep hundreds of
vendored modules, which cost 110-130 MB at startup. scripts/build.ts
bundles bin.ts and OpenTUI's syntax-highlighting worker into dist/;
bun install builds it, bun run build rebuilds it, and the tui3 bin runs
it. bun run dev still runs the sources.
This commit is contained in:
callumalpass committed 2026-11-03 00:23:45 +11:00
1 parent 42189808f3
commit f54ea6ad42
4 files changed
+28 -3

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
node_modules
*.log
.DS_Store
dist