Skip to content

Commit

Permalink
fix(types): properly expose types in package.json exports fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Dec 11, 2022
1 parent dac431c commit 10d1ac4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
"jsdelivr": "dist/portal-vue.umd.js",
"unpkg": "dist/portal-vue.umd.js",
"module": "dist/portal-vue.mjs",
"types": "dist/index.d.ts",
"types": "types/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./types/index.d.ts",
"import": "./dist/portal-vue.mjs",
"require": "./dist/portal-vue.umd.js"
},
"./dev": {
"types": "./types/index.d.ts",
"import": "./dist/portal-vue.es.dev.mjs",
"require": "./dist/portal-vue.umd.dev.js"
},
Expand Down

0 comments on commit 10d1ac4

Please sign in to comment.