Hacker News new | ask | show | jobs
by spankalee 1837 days ago
> Adopt type: module. #3501

Standard JS modules, very nice! D3 now works in all playgrounds and libraries even as dependencies without non-standard tooling!

https://jsbin.com/ducosajehi/edit?html,output

I do wish they didn't even publish UMD, that's a recipe for duplication if some libraries import the module and some import the UMD.