From 8ef4d4022642a778b8ae205e7ab36ca5e6510570 Mon Sep 17 00:00:00 2001 From: yuyinws Date: Sun, 11 Aug 2024 22:00:26 +0800 Subject: [PATCH] fix: types --- package.json | 9 ++------- src/client/builtinIcons.ts | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 1efd6aa..e993cc7 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,8 @@ "keywords": [], "sideEffects": false, "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.mjs" - }, - "./client": { - "import": "./src/client/index.ts" - } + ".": "./dist/index.mjs", + "./client": "./src/client/index.ts" }, "main": "./dist/index.mjs", "module": "./dist/index.mjs", diff --git a/src/client/builtinIcons.ts b/src/client/builtinIcons.ts index a142c29..ff113db 100644 --- a/src/client/builtinIcons.ts +++ b/src/client/builtinIcons.ts @@ -12,6 +12,7 @@ export const builtInIcons: Record = { next: 'logos:nextjs-icon', nuxt: 'logos:nuxt-icon', solid: 'logos:solidjs-icon', + astro: 'logos:astro-icon', // bundler rollup: 'logos:rollupjs', webpack: 'logos:webpack',