From 94aaa763bfecdeb994a55d4aef09606c0982e946 Mon Sep 17 00:00:00 2001 From: Katsuhiro Ueno Date: Sat, 9 Dec 2023 14:32:16 +0900 Subject: [PATCH] add "./" prefix to each item in "exports" --- packages/render-preact/package.json | 6 +++--- packages/render-react/package.json | 6 +++--- packages/render-solid/package.json | 6 +++--- packages/render-svelte/package.json | 6 +++--- packages/render-vue/package.json | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/render-preact/package.json b/packages/render-preact/package.json index 906eb4a..57355c8 100644 --- a/packages/render-preact/package.json +++ b/packages/render-preact/package.json @@ -11,9 +11,9 @@ "main": "dist/index.cjs", "exports": { ".": { - "types": "dist/index.d.ts", - "import": "dist/index.js", - "default": "dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.cjs" }, "./package.json": "./package.json" }, diff --git a/packages/render-react/package.json b/packages/render-react/package.json index 574ed3d..1ca707a 100644 --- a/packages/render-react/package.json +++ b/packages/render-react/package.json @@ -11,9 +11,9 @@ "main": "dist/index.cjs", "exports": { ".": { - "types": "dist/index.d.ts", - "import": "dist/index.js", - "default": "dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.cjs" }, "./package.json": "./package.json" }, diff --git a/packages/render-solid/package.json b/packages/render-solid/package.json index 164d47b..a04fba6 100644 --- a/packages/render-solid/package.json +++ b/packages/render-solid/package.json @@ -11,9 +11,9 @@ "main": "dist/index.cjs", "exports": { ".": { - "types": "dist/index.d.ts", - "import": "dist/index.js", - "default": "dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.cjs" }, "./package.json": "./package.json" }, diff --git a/packages/render-svelte/package.json b/packages/render-svelte/package.json index 9e4e7ca..dc23fe7 100644 --- a/packages/render-svelte/package.json +++ b/packages/render-svelte/package.json @@ -11,9 +11,9 @@ "main": "dist/index.cjs", "exports": { ".": { - "types": "dist/index.d.ts", - "import": "dist/index.js", - "default": "dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.cjs" }, "./package.json": "./package.json" }, diff --git a/packages/render-vue/package.json b/packages/render-vue/package.json index b69db7d..27d3fd8 100644 --- a/packages/render-vue/package.json +++ b/packages/render-vue/package.json @@ -11,9 +11,9 @@ "main": "dist/index.cjs", "exports": { ".": { - "types": "dist/index.d.ts", - "import": "dist/index.js", - "default": "dist/index.cjs" + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "default": "./dist/index.cjs" }, "./package.json": "./package.json" },