Skip to content

Commit

Permalink
chore: fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Feb 25, 2023
1 parent fc714f2 commit 048060a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-camels-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"xstate-component-tree": patch
---

Fix exports config
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"files": [
"dist/"
],
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"module": "dist/esm/xstart-component-tree.js",
"main": "dist/cjs/xstart-component-tree.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
"import": "./dist/esm/xstate-component-tree.js",
"require": "./dist/cjs/xstate-component-tree.js"
}
},
"devDependencies": {
Expand Down

0 comments on commit 048060a

Please sign in to comment.