platform.js
platform.js copied to clipboard
run minifier in prepublish script
It would be great if jsdelivr.com could serve a minified version of this library (cdnjs.com currently does, using a minifier script in-house). I added minification to the prepublish
script, which should not cause any unnecessary change to existing workflows, and results in NPM delivering both versions of the library. I also added the new files to .gitignore
, hopefully making this change as unobtrusive as possible. Thanks for considering!
Would close https://github.com/bestiejs/platform.js/issues/115.
The new backend is live. It pulls files directly from npm and github https://github.com/jsdelivr/jsdelivr#usage
Example https://cdn.jsdelivr.net/npm/[email protected] Example directory listing https://cdn.jsdelivr.net/npm/[email protected]/
We also do auto-minification.