From 8e7acbe3db170701e33b70ceefbc87cb5f792f43 Mon Sep 17 00:00:00 2001 From: Elias Eriksson Date: Mon, 28 Oct 2024 09:55:51 +0100 Subject: [PATCH] faking cjs entry point for jest --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3713dab..11b1fb4 100644 --- a/package.json +++ b/package.json @@ -14,10 +14,12 @@ "module": "./dist/index.js", "exports": { ".": { - "import": "./dist/index.js" + "import": "./dist/index.js", + "require": "./dist/index.js" }, "./dist/global": { - "import": "./dist/global.js" + "import": "./dist/global.js", + "require": "./dist/index.js" } }, "types": "dist/index.d.ts",