Skip to content

Use topojson-client#1147

Merged
etpinard merged 2 commits into
masterfrom
topojson-client
Nov 15, 2016
Merged

Use topojson-client#1147
etpinard merged 2 commits into
masterfrom
topojson-client

Conversation

@etpinard

Copy link
Copy Markdown
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