Skip to content

Commit

Permalink
build: esm and cjs in one release and rename to @cresta/dagre, bump t…
Browse files Browse the repository at this point in the history
…o 1.1.0
  • Loading branch information
Albert Zhang committed May 31, 2022
1 parent bdfe95d commit 6bf396e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10,479 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# dagre-esm
ES Module version of [dagre](https://github.com/dagrejs/dagre)
# dagre esm + cjs
ES Module and CommonJS version of [dagre](https://github.com/dagrejs/dagre)

### Build
```
Expand All @@ -8,4 +8,6 @@ yarn run build
npm run build
```

The ES version of `dagre` is generated as `/dist/dagre-esm.js`.
The ES version of `dagre` is generated as `/dist/dagre.esm.js`.
The CJS version of `dagre` is generated as `/dist/dagre.cjs.js`.
typescript tying is auto included when this package is imported
Loading

0 comments on commit 6bf396e

Please sign in to comment.