Given the instructions on minification in the official docs, I put together a small NPM module for just that.
The idea is to have a nicely packaged solution that can be optimized and maintained separately, instead of having people maintain their own scripts with instructions to, for example, Uglify.js.
I built this for myself, but I hope it’s something you will want to use, contribute to, etc.
I am not a very experienced developer, so guidance and instructions of any kind from more senior community-members would be much appreciated!
Let me know what you think!