From 5e07a980f31c53db80c286fc90a8e060598ada17 Mon Sep 17 00:00:00 2001 From: JK Date: Tue, 12 Oct 2021 20:13:58 +0800 Subject: [PATCH] fix: default exports.require should be pointed to index-compat.js (#128) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0a6498..ff05ac9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "exports": { ".": { "import": "./dist/index.mjs", - "require": "./dist/index.js" + "require": "./index-compat.js" }, "./package.json": "./package.json", "./": "./"