From 6a5becf2363dca090e6503718196ad293a866c9c Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 13 Sep 2024 21:53:49 +0200 Subject: [PATCH] Make package.json exports more liberal --- package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index f31afab..f587f97 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,11 @@ "source": "./src/index.ts", "types": "./dist/cjs/index.d.ts", "exports": { - "import": "./dist/esm/index.js", - "require": "./dist/cjs/index.js" + ".": { + "import": "./dist/esm/index.js", + "require": "./dist/cjs/index.js" + }, + "./*": "./*" }, "scripts": { "build": "yarn build-esm && yarn build-cjs && yarn build-cjs-package",