From 923838a1f00c2d70ade83860675c244827bf2d3c Mon Sep 17 00:00:00 2001 From: Chris Sandvik Date: Tue, 27 Sep 2022 13:42:53 -0400 Subject: [PATCH] Fix the `types` export in the `exports` field by making it non-last --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 39e1ea6..caee195 100644 --- a/package.json +++ b/package.json @@ -111,9 +111,10 @@ }, "exports": { ".": { + "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "default": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts" + "types": "./dist/types/index.d.ts", + "default": "./dist/esm/index.js" } }, "lint-staged": {