Hello,
I use a lot pipes and tailwind/purgeCSS to optimize my CSS. Works beautifully.
I use pipes too for all my javascript. Work fine too.
But as a javascript noob user, I was looking for using the js.Build
feature to optimize all this .js.
I read some basics, the Esbuild notice, and obviously the hugo doc & the forum.
But It is not easy for me to understand the right way of using js.Build
.
A simple goal would be to bundle/treeshake a huge js framework like bootstrap ou jquery+plugins with my small local scripts using them.
So I would really appreciate if someone has a real life example or links to such beast ?
In case I succeed to understand how it works (don’t hold your breath) I’ll do a simple how-to for next users …