Replace Vite with Bun bundler and Tailwind CLI #9

Merged
parkerhdavis merged 1 commit from vite-to-bun into main 2026-03-22 15:50:17 -06:00
parkerhdavis commented 2026-03-22 15:47:16 -06:00 (Migrated from github.com)

Summary

  • Removes Vite, Vitest, PostCSS, and autoprefixer from the dependency tree entirely
  • Adds build.ts (production builds via Bun.build()) and dev.ts (dev server with WebSocket live-reload on port 5173)
  • CSS processing moves from PostCSS pipeline to standalone Tailwind CLI (@tailwindcss/cli)
  • Tests migrate from Vitest to bun test (134 tests, all passing)
  • Worker instantiation migrates from Vite's new URL() + import.meta.url pattern to direct paths (/workers/*.worker.js)
  • Updates all wiki docs, README, Makefile, and Seria Agents Hub to reflect the new tooling

Aligns Seria with the two-layer stack philosophy where Bun is the JS runtime and bundler across all projects.

Test plan

  • bun test — 134 tests pass
  • tsc --noEmit — clean type check
  • bun ./build.ts — production build produces correct dist/ output (main.js, styles.css, workers/, fonts/)
  • make test — frontend + Rust tests pass
  • make dev — verify Tauri dev window opens and live-reload works on source changes
  • Manual smoke test — open a CSV/TSV, verify Screenplay and Corkboard views render (workers load correctly)
## Summary - **Removes Vite, Vitest, PostCSS, and autoprefixer** from the dependency tree entirely - **Adds `build.ts`** (production builds via `Bun.build()`) and **`dev.ts`** (dev server with WebSocket live-reload on port 5173) - **CSS processing** moves from PostCSS pipeline to standalone **Tailwind CLI** (`@tailwindcss/cli`) - **Tests** migrate from Vitest to **`bun test`** (134 tests, all passing) - **Worker instantiation** migrates from Vite's `new URL()` + `import.meta.url` pattern to direct paths (`/workers/*.worker.js`) - Updates all wiki docs, README, Makefile, and Seria Agents Hub to reflect the new tooling Aligns Seria with the two-layer stack philosophy where Bun is the JS runtime and bundler across all projects. ## Test plan - [x] `bun test` — 134 tests pass - [x] `tsc --noEmit` — clean type check - [x] `bun ./build.ts` — production build produces correct `dist/` output (main.js, styles.css, workers/, fonts/) - [x] `make test` — frontend + Rust tests pass - [x] `make dev` — verify Tauri dev window opens and live-reload works on source changes - [x] Manual smoke test — open a CSV/TSV, verify Screenplay and Corkboard views render (workers load correctly)
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
parker/seria!9
No description provided.