From 49f238c6dfd942b95e7050412bc6904433f975ea Mon Sep 17 00:00:00 2001 From: Tao Zhou Date: Thu, 30 Mar 2023 23:39:56 -0700 Subject: [PATCH] fix: require should use cjs instead of mjs (#1576) --- packages/detect-locale/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/detect-locale/package.json b/packages/detect-locale/package.json index 9e7dac4ac..f110273ee 100644 --- a/packages/detect-locale/package.json +++ b/packages/detect-locale/package.json @@ -35,7 +35,7 @@ }, "exports": { ".": { - "require": "./dist/index.mjs", + "require": "./dist/index.cjs", "import": "./dist/index.mjs" }, "./package.json": "./package.json"