From cdb7d5061a5c838f480ace0f4a2150f1af63ee7a Mon Sep 17 00:00:00 2001 From: "@dbritto-dev" Date: Sat, 28 Oct 2023 10:22:49 -0500 Subject: [PATCH] Apply publit recommendations --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index da3e94c5..ec3b1e23 100644 --- a/package.json +++ b/package.json @@ -18,13 +18,18 @@ "exports": { "./package.json": "./package.json", ".": { - "types": "./index.d.ts", + "module": { + "types": "./index.d.ts", + "default": "./esm/index.js" + }, "import": { "types": "./esm/index.d.mts", "default": "./esm/index.mjs" }, - "module": "./esm/index.js", - "default": "./index.js" + "default": { + "types": "./index.d.ts", + "default": "./index.js" + } }, "./*": { "types": "./*.d.ts",