Skip to content

Commit

Permalink
chore: publish ESM version of this library
Browse files Browse the repository at this point in the history
We previously did not properly expose `ESM` configuration of this module, leading to import errors when building `ESM` only applications.

Closes #27
  • Loading branch information
nikku committed Aug 28, 2024
1 parent 2038c57 commit 32de099
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
"main": "dist/index.js",
"module": "dist/index.esm.js",
"exports": {
".": "./dist/index.js",
"./zeebe": "./zeebe/index.js"
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"./zeebe": {
"import": "./zeebe/index.esm.js",
"require": "./zeebe/index.js"
}
},
"source": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 32de099

Please sign in to comment.