That being said app bundlers like webpack process your code in such a manner that anything else than a js interpreter tries to read it, is going to have a bad time.
I absolutely adore modern JavaScrip but regardless of these facts. The plain and simple answer when I asked it the first time was. . . .
. . . no one is really as interested in your code as you think they are.