Open haxxxton opened 7 years ago
If you want you can use jsDelivr. It can auto-minify any file by adding min
to a file name
http://cdn.jsdelivr.net/npm/react-motion@0.5.0/build/react-motion.min.js
@jimaek AWESOME! thanks for bringing that to my attention. Im unfamiliar with the way these CDN's operate, is it something that react-motion is having to ping per release? or do they have a subscription to the master branch on their side? if it's the later, what changed from 0.0.3 that meant CDNjs is no longer recognising releases?
jsDelivr pulls directly from npm. So you dont need to do anything, just push a release to npm and the files will be available on the CDN. There is no config or pings like cdnjs uses.
This issue duplicates #429.
The currently recommended CDN service appears to be unpkg.com. However, it appears the build folder (for the latest release at least) does not include a minified version of react-motion. It would be great to have this as an available external resource.
Similarly, it appears that cdnjs.com only has version 0.0.3 available. I'm not sure if there was a conscious decision to move away from CDNjs, or if their API stopped scraping for some reason, but this would also be an awesome resource to have at our disposal.