dagre
dagre copied to clipboard
is it possible to provide esm build in dist
I've been able to build an esm/es6 version of dagre
here. I'm happy to contribute that back in a PR if it is of interest. I haven't published any packages to npm since it would be better if that logic lived in this repo.
There's also a dagre-d3
ESM fork at https://github.com/tbo47/dagre-es.
It has it's own version of dagre
under import {xxx} from "dagre-d3-es/src/dagre/index.js";
that you can use too.