Niekes / d3-3d

d3-3d is a powerful JavaScript library designed for 3D visualizations, specifically tailored to work seamlessly with d3.js. This library enables the projection of 3D data onto web browsers, making it an essential tool for developers interested in creating immersive and dynamic visualizations.
BSD 3-Clause "New" or "Revised" License
352 stars 34 forks source link

allow esnext module import #10

Closed drochgenius closed 5 years ago

drochgenius commented 5 years ago

Hi @Niekes,

I'd like to use your library as an es module, alongside other D3 modules in my application, and I need the module field in package.json to be set properly. This field is currently a proposal, but it's already implemented in other D3 modules: https://github.com/d3/d3-shape/blob/master/package.json#L22

The proposal is here for more details: https://github.com/rollup/rollup/wiki/pkg.module

Thanks for reviewing

drochgenius commented 5 years ago

Hi @Niekes , could you please review my PR?

Thanks

Niekes commented 5 years ago

sorry for the delay...

drochgenius commented 5 years ago

NP, Thanks!