From 8189083acaf7af0128d29620ec11b7d17ab1df91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Mon, 27 Jun 2022 15:10:43 +0200 Subject: [PATCH] fix(esm): add default export to maximize compat Make it work with Jest Fix #27 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ef2b70..38382e2 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "exports": { ".": { "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" } }, "keywords": [