From 10d1ac4efba50987fd6d2310e8761b07d3c51fff Mon Sep 17 00:00:00 2001 From: Thorsten Luenborg Date: Sun, 11 Dec 2022 10:43:17 +0100 Subject: [PATCH] fix(types): properly expose types in package.json exports fields. --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 77a4faa..875006f 100644 --- a/package.json +++ b/package.json @@ -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" },