
aleidk
@aleidk@fedi.alecodes.page
I finally found how to make #frontend tooling play nice with non JS server side applications!
Bun can process HTML files and create a bundle automatically, this will also transpile/build dependencies, so you can add npm packages in a script tag for example.
So for example: with a simple bun build --watch **/*.html
you can process templates from whatever template engine before initializing whatever web server you're using.