Closed doshisunny closed 7 years ago
Hi @doshisunny, thanks for the report. I'd be glad to add module support to dc.graph.js but I just haven't migrated to ES6 myself so I don't know what goes in the file.
Would you care to open a pull request? I could merge and do a new npm release fairly quickly.
@gordonwoodhull Thank you so much. I created pull request.
Thanks @doshisunny! Merged in 0.3.2 0.3.3 and published to npm.
I am having issue with importing dc.leaflet while importing it.
const dcLeaflet = require('dc.leaflet');
gives meerror unable to resolve path module
Currently I am able to resolve it by adding
index.js
in dc.leaflet inside node_module directory with following.This is something we can not do with application deployment. Do you have any alternative or better suggestion to so?