Browserify doesn't seem to support defining custom entry point for modules in node_modules
Add a build script that replaces the entry point (the main field of package.json) of d3 libraries to the files defined in the unpkg field when building browser bundles.
The replacement are reverted after the build finishes.
Serves as a temporary fix for build issues with d3 libraries.
Browserify doesn't seem to support defining custom entry point for modules in node_modules Add a build script that replaces the entry point (the main field of package.json) of d3 libraries to the files defined in the unpkg field when building browser bundles. The replacement are reverted after the build finishes.
Serves as a temporary fix for build issues with d3 libraries.