Compile svelte file via js.Build

Currently with the esBuild support in Hugo 0.78.2, I was wondering can we use esBuild plugins system in Hugo which can compile svelte files into normal js files like shown here. Simply I want Hugo to handle svelte files using js.Build.

1 Like

Hey, sorry for resurrecting such an old topic, but did you have any success?

It’s not possible.