-
Notifications
You must be signed in to change notification settings - Fork 76
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
Usage from node v8.5.0+ with --experimental-modules #33
Comments
Please read my comment on the linked issue. |
Pardon me for being dim on this, but shouldn't |
d3-dsv is usable directly from Node, whether or not you choose to enable --experimental-modules. However, --experimental-modules still limits you to CommonJS interoperability with d3-dsv; you must either continue to use import d3Dsv from "d3-dsv"; This is because --experimental-modules is hamstrung: it will only load ES modules if the imported file has the extension Unlike most other ES module loaders, --experimental-modules does not observe the This limitation is why I recommend using @std/esm. Unlike --experimental-modules, |
I'm trying to use the module from node v9.3.0 as shown here, but I get
The text was updated successfully, but these errors were encountered: