Skip to content

Commit

Permalink
fix: rename mjs to js ext
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Nov 5, 2021
1 parent 37ba0e9 commit 823f41d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.esm.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./infinite": {
"import": "./infinite/dist/index.mjs",
"import": "./infinite/dist/index.esm.js",
"require": "./infinite/dist/index.js",
"types": "./infinite/dist/infinite/index.d.ts"
},
"./immutable": {
"import": "./immutable/dist/index.mjs",
"import": "./immutable/dist/index.esm.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/**",
Expand Down

0 comments on commit 823f41d

Please sign in to comment.