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

Move turf require inside GET_VECTOR_INFO reducer #1335

Merged
merged 1 commit into from
Dec 12, 2016

Conversation

manisandro
Copy link
Contributor

This allows the turf modules to be ignored when creating the webpack bundle by adding

new webpack.IgnorePlugin(/^(turf*)$/)

to the plugins in webpack.config.js, saving around 0.5 MB from the resulting optimized build (mostly thanks to not pulling in the jsts modules). This clearly implies that the application promises to never attempt to identify a vector layer feature.

@simboss simboss added the ready label Dec 7, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 80.271% when pulling df92474 on sourcepole:turf into bdeb615 on geosolutions-it:master.

@mbarto mbarto merged commit 35cdb7f into geosolutions-it:master Dec 12, 2016
@mbarto mbarto removed the ready label Dec 12, 2016
@manisandro manisandro deleted the turf branch December 12, 2016 12:18
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

Successfully merging this pull request may close these issues.

4 participants