We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sideEffects
It would be nice to know if a d3 module has side effects without having to read the code, by inspecting the sideEffects property in package.json.
package.json
This would permit to enhance tree shaking by reading that value programmatically and set rollup's treeshake.moduleSideEffects accordingly.
treeshake.moduleSideEffects
If this makes sense and is doable, this would apply to all of d3 modules (EDIT: especially if you'll do a major version bump across all the modules!)
Thanks!
The text was updated successfully, but these errors were encountered:
Duplicate of d3/d3#3131. This is planned, but please see caveats in that discussion and comments would be welcome.
Sorry, something went wrong.
No branches or pull requests
It would be nice to know if a d3 module has side effects without having to read the code, by inspecting the
sideEffects
property inpackage.json
.This would permit to enhance tree shaking by reading that value programmatically and set rollup's
treeshake.moduleSideEffects
accordingly.If this makes sense and is doable, this would apply to all of d3 modules (EDIT: especially if you'll do a major version bump across all the modules!)
Thanks!
The text was updated successfully, but these errors were encountered: