Hey Team Hugo. First time poster here. Been using Hugo for a while now and I’ve build some wonderful sites thanks to Hugo <3
I was hitting a bit of a snag with the latest hugo update. I have a fairly simple js file with with mainly some boilerplate alpinejs setup and an unused lottie player import. When hugo minifies the the js it gives me a nasty error:
Now it’s a simple fix remove the unused import but thought it would be useful to mention that
tdewolff/minify is breaking inside of hugo between versions.