From 5c651dd092884d87a66f598120012253b8166440 Mon Sep 17 00:00:00 2001 From: schabibi1 Date: Wed, 5 Jul 2023 12:12:31 +0200 Subject: [PATCH] fix: add exports TS types files in root package.json --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7fa3f298..dd92325d 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,18 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.umd.js" + "require": "./dist/index.umd.js", + "types": "./dist/types/entry.esm.d.ts" }, "./richTextResolver": { "import": "./dist/richTextResolver.mjs", - "require": "./dist/richTextResolver.umd.js" + "require": "./dist/richTextResolver.umd.js", + "types": "./dist/types/richTextResolver.d.ts" }, "./schema": { "import": "./dist/schema.mjs", - "require": "./dist/schema.umd.js" + "require": "./dist/schema.umd.js", + "types": "./dist/types/schema.d.ts" } }, "files": [ @@ -123,4 +126,4 @@ "trailingComma": "es5", "useTabs": true } -} +} \ No newline at end of file