From e5005603528beaa1d50c885811c31a7b0b8b20d4 Mon Sep 17 00:00:00 2001 From: Sean Burton Date: Wed, 3 Jun 2026 10:44:36 +0100 Subject: [PATCH] feat: export types from package --- documentation-ui/package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/documentation-ui/package.json b/documentation-ui/package.json index 23e7aa8..890d02a 100644 --- a/documentation-ui/package.json +++ b/documentation-ui/package.json @@ -37,9 +37,17 @@ "type": "module", "main": "dist/src/index.js", "exports": { - ".": "./dist/src/index.js", + ".": { + "types": "./dist/types/src/index.d.ts", + "import": "./dist/src/index.js", + "default": "./dist/src/index.js" + }, "./tokens.css": "./dist/tokens.css", - "./tailwindTheme": "./dist/src/tailwindTheme.js" + "./tailwindTheme": { + "types": "./dist/types/src/tailwindTheme.d.ts", + "import": "./dist/src/tailwindTheme.js", + "default": "./dist/src/tailwindTheme.js" + } }, "types": "./dist/types/src/index.d.ts", "mode": "production",