Skip to content
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

Making the ES module #3

Merged
merged 6 commits into from
Nov 8, 2023
Merged

Making the ES module #3

merged 6 commits into from
Nov 8, 2023

Conversation

jonathanlurie
Copy link
Collaborator

@jonathanlurie jonathanlurie commented Nov 6, 2023

RD-175

This PR is about revamping the library so that it can be installed from NPM and used as an ES module. The effort was made to keep it backward compatible with the pure CDN version.

The vector layer helpers from the SDK are also now exposed directly from the custom MapTiler SDK Map Leaflet layer.

Copy link
Member

@petrsloup petrsloup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

About the versioning/CDN -- are there actually any breaking changes?
I think we can still ship this as v2 even though it could maybe technically be just a minor version update.
But I'm thinking more about the CDN and latest placeholder -- is it safe to the the update in place? (As previously discussed, I don't like the latest and we should maybe gradually stop recommending people to use that. Even v1 symlink to the latest v1.x.x would be better.)

@jonathanlurie
Copy link
Collaborator Author

No breaking changes so it should be safe to update in place. And i agree that v1, v2, v3 is better than latest

@jonathanlurie jonathanlurie reopened this Nov 8, 2023
@jonathanlurie jonathanlurie merged commit 4cedacb into main Nov 8, 2023
2 checks passed
@jonathanlurie jonathanlurie deleted the dev-es branch November 8, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants