From 463fde4e2b3d546c5d5e237b5ba22f83e601a680 Mon Sep 17 00:00:00 2001 From: yuyin <38490578+yuyinws@users.noreply.github.com> Date: Wed, 14 Jun 2023 20:43:17 +0800 Subject: [PATCH] fix: package types (#187) --- packages/anu-vue/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/anu-vue/package.json b/packages/anu-vue/package.json index 447341b2..25f11779 100644 --- a/packages/anu-vue/package.json +++ b/packages/anu-vue/package.json @@ -26,7 +26,7 @@ "module": "./dist/anu-vue.js", "exports": { ".": { - "types": "./dist/types/index.d.ts", + "types": "./dist/types/packages/anu-vue/src/index.d.ts", "import": "./dist/anu-vue.js", "require": "./dist/anu-vue.umd.cjs" }, @@ -36,7 +36,7 @@ "dist", "volar.d.ts" ], - "types": "./dist/types", + "types": "./dist/types/packages/anu-vue/src/index.d.ts", "scripts": { "dev": "pnpm gen-comp-meta && concurrently \"vite build --watch\" \"vue-tsc --declaration --emitDeclarationOnly --watch\"", "gen-comp-meta": "na tsx ../../scripts/gen-component-meta.ts",