Skip to content

Commit

Permalink
🛠️ [Package] Add types to exports object to fix some build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
beefchimi committed Nov 24, 2023
1 parent f0670f3 commit ab480f9
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 59 deletions.
114 changes: 57 additions & 57 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"exports": {
".": {
"import": "./dist/emitten.es.js",
"require": "./dist/emitten.umd.js"
"require": "./dist/emitten.umd.js",
"types": "./dist/index.d.ts"
}
},
"engines": {
Expand All @@ -55,7 +56,7 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@types/node": "^20.9.4",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
Expand Down

0 comments on commit ab480f9

Please sign in to comment.