sjcl
sjcl copied to clipboard
CDN versions do not make available extra modules
Looking at https://cdnjs.com/libraries/sjcl only the base class is available. However sjcl consists of additional modules (sha1, aescbc, ...) that are not available in the core version. The package scripts should be updated in order to provide these extra classes on the cdn (and check #357 to remember that the extra packages should be tested against the minified versions also)
You should be able to load all files from https://www.jsdelivr.com/package/npm/sjcl
Hi @MartinKolarik, I have found that, and I am doing that. But there are a couple of issues with that.
- As I have said in the #357 the extra files (modules) have issues with the minified sjcl.min.js file
- It should be trivial to add the excluded files from the build to the packages file and have them also distributed to other cdns (such as cloudflare)
- Personal Opinion: The way jsdeliver links to files is just not that pretty in my (otherwise amazingly nicelooking) code