From 7e782547dbf1adcb5bf3097b5cae4e8fa2ff4033 Mon Sep 17 00:00:00 2001 From: Myriad-Dreamin Date: Thu, 26 Oct 2023 13:22:32 +0800 Subject: [PATCH] dev: try fixing #378 + https://github.com/Myriad-Dreamin/typst.ts/issues/378 --- packages/typst.react/package.json | 12 ++++++------ packages/typst.ts/package.json | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/typst.react/package.json b/packages/typst.react/package.json index d017200b..2e746b77 100644 --- a/packages/typst.react/package.json +++ b/packages/typst.react/package.json @@ -15,14 +15,14 @@ "homepage": "https://myriad-dreamin.github.io/typst.ts/", "exports": { ".": { - "require": "./dist/src/lib/index.mjs", - "import": "./dist/src/lib/index.mjs", - "types": "./dist/src/lib/index.d.mts" + "types": "./dist/index.d.ts", + "require": "./dist/index.js", + "import": "./dist/index.js" }, "./*": { - "require": "./dist/src/lib/*.mjs", - "import": "./dist/src/lib/*.mjs", - "types": "./dist/src/lib/*.d.mts" + "types": "./dist/*.d.ts", + "require": "./dist/*.js", + "import": "./dist/*.js" } }, "files": [ diff --git a/packages/typst.ts/package.json b/packages/typst.ts/package.json index 9fc9460e..0c9ba501 100644 --- a/packages/typst.ts/package.json +++ b/packages/typst.ts/package.json @@ -17,13 +17,13 @@ "types": "./dist/esm/index.d.mts", "exports": { ".": { + "types": "./dist/esm/index.d.mts", "require": "./dist/cjs/index.cjs", - "import": "./dist/esm/index.mjs", - "types": "./dist/esm/index.d.mts" + "import": "./dist/esm/index.mjs" }, "./*": [ "./*", - "./*.d.ts" + "./*.d.mts" ] }, "files": [