Open ghost91- opened 2 years ago
Unless something's changed, generally Foundry module / system devs shy away from minification due to it being harder to debug when an issue arises. Are you confident this is slowing things down significantly for you?
To be honest, I think they mostly shy away from it because they don’t know any better. Of course just doing it in a single module won’t have a massive effect. But if many modules do, it will be pretty significant.
Regarding it being harder to debug: Are there many situations where the published package needs to be debugged (instead of a non minified development version)? But even if so, it should still be ok if source maps are being utilized.
Please consider minifying the built JavaScript code as it helps a lot with reducing load times.