Skip to content

Commit

Permalink
fix(core): fix types resolution for ESM bundlers
Browse files Browse the repository at this point in the history
  • Loading branch information
dwightjack committed Jul 1, 2024
1 parent b742a48 commit 97f366d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thin-otters-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vue-types': patch
---

vue-types: expose shared types to ESM module consumers
3 changes: 3 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"require": "./dist/vue-types.cjs",
"import": "./dist/vue-types.modern.js"
},
"./dist/types": {
"types": "./dist/types.d.ts"
},
"./shim": {
"types": "./dist/shim.d.ts",
"require": "./shim/index.cjs.js",
Expand Down

0 comments on commit 97f366d

Please sign in to comment.