jscl
jscl copied to clipboard
Minified version of jscl.js
It would be nice to have a minified version of jscl.js like jscl.min.js.
I tried https://cdn.jsdelivr.net/npm/[email protected]/jscl.min.js and returns always https://cdn.jsdelivr.net/npm/[email protected]/jscl.js content.
It would be pretty nice to get the 'release' pipeline automated with Github Actions, so we can tag some release and do a release (including minification) automatically.
I did this. And really was very slow. However at 1,5mb I get 844Kb, It's better.
Hey noloop, this is great, may I ask: How did you do this? Which compressor are you using?
I tried uglify, it was just reduced by 0.1M
Ah, the following command could do a good job:
uglifyjs jscl.js -c -m -o jscl.min.js
it turns 2 MB jscl.js to 1.1 MB