diff --git a/scripts/build.mjs b/scripts/build.mjs index bdd56c9a4..f07914c65 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -61,12 +61,12 @@ async function main() { { ...pkg, files: ["dist-*/**", "bin/**"], - main: "dist-bundle/index.js", types: "dist-types/index.d.ts", exports: { ".": { types: "./dist-types/index.d.ts", import: "./dist-bundle/index.js", + default: "./dist-bundle/index.js", }, }, sideEffects: false,