Kirby Plainkit with esbuild

I recently moved away from CodeKit, searching for the simplest build setup for JS and CSS with live reloading. This is what I came up with:

Maybe someone finds it useful as a boilerplate or starting point for their own.

3 Likes

Thank you, thats nice! How do you make the build for production?

I only use the development server, there is no special production script. esbuild is so fast, it doesn’t really matter if I e.g. disable minification in dev.

Cool, thank you. I was trying to integrate vite for days without using the kirby-vite plugin but it’s a hustle. When i thought about just using esbuild to keep it simple i found your repo. thanks for that.