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

Adopt type: module. #3506

Merged
merged 4 commits into from Jun 11, 2021
Merged

Adopt type: module. #3506

merged 4 commits into from Jun 11, 2021

Conversation

mbostock
Copy link
Member

Fixes #3502.
Fixes #3501.
Fixes #3469.
Fixes #3477.
Fixes #3454.
Fixes #3366.

@mbostock mbostock merged commit 23b0212 into main Jun 11, 2021
@mbostock mbostock deleted the mbostock/type-module branch June 11, 2021 17:50
@arthurblake-AngelOak
Copy link

The main README still notes node usage for CJS which is now broken

In Node:

const d3 = require("d3");

You can also require individual modules and combine them into a d3 object using Object.assign:

const d3 = Object.assign({}, require("d3-format"), require("d3-geo"), require("d3-geo-projection"));

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