-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lay groundwork for distribution via npm and CDNs #493
Comments
Perhaps a bit too much to ask as part of this issue, but it'd be really neat if we - at some point - could serve assets over a CDN. Apart from the potential performance benefits we could also use absolute URLs in our HTML markup examples, which would provide developers with a third easy-to-use installation alternative, as it is simply a matter of copy and paste. I have no personal experience in this area, but this resource may be useful: https://unpkg.com/#workflow. |
I was able to publish 0.8.0 to npm. It's at https://www.npmjs.com/package/@maps4html/web-map-custom-element One caveat is that to install it into a project using
|
In chat @prushforth notes "On my windows machine I have v13.13.0 and on wsl2 it is v15.11.0" and that "The LTS version available for windows 10 is 14.7.3 / npm 6.14.13". I use nvm and note that |
I think this is straightforward enough that we can piggyback it onto this issue. |
…ged; what's needed will be cherry-picked into master. Pushes release v0.8.2 to npm with proper structure for unpkg cdn distribution.
…t duplicate package.json in /dist. Apologies for spurious whitespace changes, my IDE chomps trailing spaces on save.
… updated with an Installation section for these additions.
It'd be useful for releases to be available via
npm
and, indeed, there was some movement in this direction in #138 when v0.8.0 was released last year. Lodging this as an issue and looking into this over the next few days.The text was updated successfully, but these errors were encountered: