From 1d834ae8f19ac3cf8740d1bb0e92530fd0f10ac6 Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Tue, 27 Feb 2024 17:00:32 -0500 Subject: [PATCH] fix(pkg): add `main` export (#681) Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com> --- scripts/build.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/build.mjs b/scripts/build.mjs index 0f4437e90..bdd56c9a4 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -61,6 +61,8 @@ 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",