Skip to content

Use topojson-client #1147

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

Merged
merged 2 commits into from
Nov 15, 2016
Merged

Use topojson-client #1147

merged 2 commits into from
Nov 15, 2016

Conversation

etpinard
Copy link
Contributor

The topojson module got split in a geojson to topojson and topojson to geojson version. The latter is what we do in plotly.js.

This PR replaces the topojson dependency with topojson-client. The API hasn't changed, so the change was easy enough. This should lead to a smaller bundle size.

- 'topojson' pkg is now meant for server-side manipulation as of v2
- 'topojson-client' includes the client-side topology to geojson
  features methods we need.
@etpinard etpinard added this to the v1.20.0 milestone Nov 15, 2016
@etpinard etpinard merged commit 1fabebd into master Nov 15, 2016
@etpinard etpinard deleted the topojson-client branch November 15, 2016 20:24
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.

1 participant