From 0514eaac44a167d58dd240aba45fa812ae92a42d Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Fri, 5 Nov 2021 13:21:05 +0100 Subject: [PATCH] fix: rename mjs to js ext --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 813129cbfc..c1046339e3 100644 --- a/package.json +++ b/package.json @@ -4,26 +4,26 @@ "description": "React Hooks library for remote data fetching", "type": "module", "main": "./dist/index.js", - "module": "./dist/index.mjs", + "module": "./dist/index.js", "exports": { "./package.json": "./package.json", ".": { - "import": "./dist/index.mjs", + "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./infinite": { - "import": "./infinite/dist/index.mjs", + "import": "./infinite/dist/index.js", "require": "./infinite/dist/index.js", "types": "./infinite/dist/infinite/index.d.ts" }, "./immutable": { - "import": "./immutable/dist/index.mjs", + "import": "./immutable/dist/index.js", "require": "./immutable/dist/index.js", "types": "./immutable/dist/immutable/index.d.ts" } }, - "react-native": "./dist/index.mjs", + "react-native": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist/**",