I would use vite to build it. Avoid next like the plague.
Vite is great for things like this. I've also stuck them in by themselves using tsc and react-min.js or maybe I ran it through babel by hand. IDK.
Vite is great for things like this. I've also stuck them in by themselves using tsc and react-min.js or maybe I ran it through babel by hand. IDK.
Here's a shameless plug (and demo) for a static Vite site I deployed with Cloudflare Pages. This tech stack has been awesome to use (and free): https://bufo.nedellis.com/