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

Include Minified Build in NPM dist directory #25

Closed
curran opened this issue Dec 10, 2020 · 2 comments
Closed

Include Minified Build in NPM dist directory #25

curran opened this issue Dec 10, 2020 · 2 comments

Comments

@curran
Copy link
Contributor

curran commented Dec 10, 2020

FWIW I was poking around the dist directory on UNPKG and noticed there is no minified JS build there.

That would be nice to have, for pulling into hosted examples like VizHub: MapLibre GL Starter and on other platforms like CodePen, JSFiddle, etc.

Related to #5

@nyurik
Copy link
Member

nyurik commented Dec 11, 2020

I have no objections to add maplibre.min.js to the dist dir, but from the looks of it they are already minified -- note the mapbox-gl-unminified.js which is much bigger.

@curran
Copy link
Contributor Author

curran commented Dec 11, 2020

Ah yes! My bad. I saw the non-minified preamble but didn't see that the rest of it was minified.

image

Closing.

@curran curran closed this as completed Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants