From 216d14994a5886f484387534e38958f1af335913 Mon Sep 17 00:00:00 2001 From: Steve Dodier-Lazaro Date: Thu, 26 Sep 2024 14:45:45 +0200 Subject: [PATCH] chore: Put TS subpath exports first --- package.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index c51c523..2180609 100644 --- a/package.json +++ b/package.json @@ -17,34 +17,34 @@ "license": "MIT", "exports": { ".": { + "types": "./dist/index.d.ts", "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "import": "./dist/index.mjs" }, "./jsx-dev-runtime": { + "types": "./dist/jsx-runtime.d.ts", "require": "./dist/jsx-runtime.js", - "import": "./dist/jsx-runtime.mjs", - "types": "./dist/jsx-runtime.d.ts" + "import": "./dist/jsx-runtime.mjs" }, "./jsx-runtime": { + "types": "./dist/jsx-runtime.d.ts", "require": "./dist/jsx-runtime.js", - "import": "./dist/jsx-runtime.mjs", - "types": "./dist/jsx-runtime.d.ts" + "import": "./dist/jsx-runtime.mjs" }, "./manager": { + "types": "./dist/manager.d.ts", "require": "./dist/manager.js", - "import": "./dist/manager.mjs", - "types": "./dist/manager.d.ts" + "import": "./dist/manager.mjs" }, "./preset": { + "types": "./dist/preset.d.ts", "require": "./dist/preset.js", - "import": "./dist/preset.mjs", - "types": "./dist/preset.d.ts" + "import": "./dist/preset.mjs" }, "./preview": { + "types": "./dist/preview.d.ts", "require": "./dist/preview.js", - "import": "./dist/preview.mjs", - "types": "./dist/preview.d.ts" + "import": "./dist/preview.mjs" }, "./package.json": "./package.json" },