Closed retyui closed 6 years ago
This module already supports ESM (the module
entry point) and CommonJS (the main
entry point) using Rollup. It’s unclear to me what you are trying to achieve by switching to Babel.
@mbostock As you do not understand, I do not need all the js bundle in the project, and since the tree-shaking does not work. I'm trying to create a separate folder with CommonJS files. And third-party libraries that use only part of the function D3 bring the project a lot of dead code
https://github.com/d3/d3-shape/issues/121