Author here. This post arose out of a recent thread on the Hugo Discourse:
https://discourse.gohugo.io/t/hugo-v0-158-0-released/56868
Good call out from that thread is he's trying to get a small change in esbuild added to help with this as well.
https://github.com/evanw/esbuild/issues/4419
BTW, there's a glitch in your code snippet syntax highlighting; in Light mode, the 'p' selector is remaining an unreadable yellow.
Good call out from that thread is he's trying to get a small change in esbuild added to help with this as well.
https://github.com/evanw/esbuild/issues/4419