Description
Since modules are now supported and work great with scala.js, but don't work great with the Closure compiler, and apparently won't ever work with it. I think it would be great to have some sort of simple property name minifier. Current, good javascript minifiers do well with ES imports and are able to tree shake most of the unused stuff. They do well with class name minification as well. However, where they fail is property minification.
In scala.js we have access to a lot more semantic information so it might not be too tough to create a simple minification of property names, I think it would drastically reduce the output javascript size. Today the code is pretty compressable but it could be a lot better.
Another option could be some guidance on how to pass the right parameters to something like Terser if there were some conventions that were universally applicable. https://terser.org/docs/api-reference.html#mangle-properties-options