Closed voodoos closed 4 years ago
Thank you, but that would be even better if there is a way to "compile the example to its CDN version", so that there is only one file to change when the example is updated (and that will happen very soon!).
Do you know a good way to do this?
Also, is it better or different to use https://www.jsdelivr.com/ ?
No idea for the compilation. I think we can keep this PR opened for now, and only focus on improving the module-version. Then either we do provide this cdn version or just a simpler example.
For the CDN yes, using the github.io
is not a good idea: it is not optimized for speed. Any other CDN will do and we should one day add a "release" script that uploads the minified file to the CDN
Things have changed since this PR, the doc explains well enough how to use a cdn, and we can use jsdeliver with gihub or npm to deliver the library. Still, thanks for contributing!
Copy the example but show how to use a
slip-js
version from a CDN.Todo that common css is also built with
Parcel
.