From 533fcbc5d02b31fb4126fd012338839e1433f730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Wed, 24 Apr 2024 17:24:58 +0200 Subject: [PATCH] Changed default export to point to dist-src instead of dist-types --- scripts/build.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 6b72228a9..5b55db6f2 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -59,7 +59,7 @@ async function main() { import: "./dist-src/index.js", types: "./dist-types/index.d.ts", // Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint - default: "./dist-types/index.js", + default: "./dist-src/index.js", }, }, sideEffects: false,