Skip to content

Commit

Permalink
fix: don't use .mjs file for react-native, which isn't supported by…
Browse files Browse the repository at this point in the history
… default. Fixes #1058 #1065 (#1075)

* fix: don't use `.mjs` file for react-native, which isn't supported by default. Fixes #1058 #1065 (?)

* v10.0.3-beta
  • Loading branch information
mweststrate authored Oct 2, 2023
1 parent 75e004d commit f6736a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "immer",
"version": "10.0.0-beta.6",
"version": "10.0.3-beta",
"description": "Create your next immutable state by mutating the current one",
"main": "./dist/cjs/index.js",
"module": "./dist/immer.legacy-esm.js",
Expand All @@ -12,7 +12,7 @@
}
},
"jsnext:main": "dist/immer.mjs",
"react-native": "dist/immer.mjs",
"react-native": "./dist/immer.legacy-esm.js",
"source": "src/immer.ts",
"types": "./dist/immer.d.ts",
"sideEffects": false,
Expand Down

0 comments on commit f6736a4

Please sign in to comment.