Bud + HTML Compiler

I was looking through the extensions that bud has to offer, as well as what’s base, but I wasn’t able to find what I was looking for.

Does bud offer a way, or is there a known extension to compile out twig, or handlebars or some sort of HTML templating, or would I have to basically try and work with getting a webpack plugin working, or try and rework this laravel-mix plugin we’re using to compile templates out?

The list of official, available bud extensions:

The mdx extension is similar to what you are looking for.

Note that bud (currently) uses webpack under the hood,
so you can write a bud extension that uses a webpack plugin or loader to render a language to HTML, e.g. GitHub - zimmo-be/twig-loader: Webpack loader for compiling Twig.js templates.

Related discussion: How do I configure bud properly? - #6 by ben