Skip to content

Commit

Permalink
fix: add dist exports (#1374)
Browse files Browse the repository at this point in the history
now imports from dist directory are possible

fix #1368
  • Loading branch information
dangreen committed Nov 2, 2022
1 parent 164e765 commit 1438bad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -45,8 +45,11 @@
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./dist/*": "./dist/*"
},
"directory": "package"
},
Expand Down

0 comments on commit 1438bad

Please sign in to comment.