From b2f5d8378ee0b0c7a8f1e3bb28ee7b65071febcd Mon Sep 17 00:00:00 2001 From: "Shelly (6utt3rfly)" <17912877+6utt3rfly@users.noreply.github.com> Date: Mon, 28 Mar 2022 23:42:06 -0700 Subject: [PATCH] fix: remove default export using a default export causes the module build file to be used by typescript when it transpiles to cjs, which then doesn't work for mixing esm and cjs. Simply removing the default line resolves the issue. Fixes #57 --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 5c60345..95b3b67 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "main": "dist/jse-eval.cjs", "module": "dist/jse-eval.module.js", "exports": { - "default": "./dist/jse-eval.module.js", "import": "./dist/jse-eval.modern.js", "require": "./dist/jse-eval.cjs" },