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

Remove geojson-flatten dependency #1066

Merged
merged 3 commits into from
Jun 28, 2024
Merged

Conversation

stevage
Copy link
Contributor

@stevage stevage commented Aug 20, 2021

This dependency on geojson-flatten (which itself has several more) is easily replaced.

It also turns out many of the tests to constrainFeatureMovement() were supplying faulty Polygon coordinates.

(Motivation: this was causing me some kind of spurious packaging errors when making other changes, the classic Webpack issue with require() and .default etc etc)

@stepankuzmin stepankuzmin requested a review from a team as a code owner June 28, 2024 14:35
Copy link
Contributor

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

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

Hey @stevage,

Thanks for the contribution, and sorry for the delayed response. This change also saves 8K in the resulting bundle 👍

@stepankuzmin stepankuzmin merged commit 1c59954 into mapbox:main Jun 28, 2024
2 checks passed
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.

2 participants