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

Both minified & unminified style specs are included in bundle #2997

Closed
tmcw opened this issue Aug 12, 2016 · 0 comments
Closed

Both minified & unminified style specs are included in bundle #2997

tmcw opened this issue Aug 12, 2016 · 0 comments
Labels

Comments

@tmcw
Copy link
Contributor

tmcw commented Aug 12, 2016

2016-08-12 at 3 28 pm

We require validate_style.min here https://github.com/mapbox/mapbox-gl-js/blob/master/js/style/validate_style.js#L3

and the latest style spec here https://github.com/mapbox/mapbox-gl-js/blob/master/js/style/style_spec.js#L3

As a result, we include both v8.json and v8.min.json. This adds about 18kb of wasted code to GL JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant