diff --git a/scripts/build.mjs b/scripts/build.mjs index 1451e7ca..0192d75f 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -65,7 +65,9 @@ async function main() { { ...pkg, files: ["dist-*/**", "bin/**"], - exports: { + main: "./dist-bundle/index.js", + types: "./dist-types/index.d.ts", + exports: { ".": { types: "./dist-types/index.d.ts", import: "./dist-bundle/index.js",