Build-Time Asset Generation with Custom Vite Plugins
Why the cheapest compute you have runs at build time — and how two custom plugins replaced runtime services
Thoughts on software engineering, web development, and technology.
Why the cheapest compute you have runs at build time — and how two custom plugins replaced runtime services
An honest retrospective on building a portfolio without a meta-framework: what worked, what I would change, and when to roll your own vs. use a framework.
Achieving near-perfect Lighthouse scores with React Compiler, route-level code splitting, build-time module preloading, and edge caching.
Building privacy-respecting analytics from scratch with session tracking, Web Vitals collection, client-side batching, and Grafana dashboards on Cloudflare D1.
Building a per-project AI chat feature with Cloudflare Workers AI, Server-Sent Events streaming, and prompt engineering for focused responses.
Deploying a portfolio on Cloudflare Workers with Hono, D1 database, Workers AI, and the Vite Cloudflare plugin for local development.
Building a custom Vite plugin to extract MDX metadata without full compilation, using virtual modules and the query parameter pattern.
Building a custom SSG pipeline with Vite, including route entry discovery, module preloading from manifests, and server routes for RSS and sitemaps.
How to build a custom React router from scratch with file-based route discovery, pattern matching, lazy loading, and the ViewTransition API.
The philosophy behind building a custom React portfolio without Next.js, Remix, or TanStack Start.