dagrejs / dagre

Directed graph layout for JavaScript
MIT License
4.63k stars 600 forks source link

is it possible to provide esm build in dist #312

Open codeStryke opened 3 years ago

codeStryke commented 3 years ago

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.

aloisklink commented 1 year ago

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.