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": [