Skip to content

Commit

Permalink
Merge pull request #2102 from aryaemami59/feature/9.0-react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Dec 5, 2023
2 parents e215baa + c24b5ac commit fd1c0d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"bugs": "https://github.com/reduxjs/react-redux/issues",
"module": "dist/react-redux.legacy-esm.js",
"main": "dist/cjs/index.js",
"react-native": "./dist/react-redux.react-native.mjs",
"react-native": "./dist/react-redux.react-native.js",
"types": "dist/react-redux.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/react-redux.d.ts",
"react-server": "./dist/rsc.mjs",
"react-native": "./dist/react-redux.react-native.mjs",
"react-native": "./dist/react-redux.react-native.js",
"import": "./dist/react-redux.mjs",
"default": "./dist/cjs/index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default defineConfig((options) => {
'react-redux.react-native': 'src/react-native.ts',
},
format: ['esm'],
outExtension: () => ({ js: '.mjs' }),
outExtension: () => ({ js: '.js' }),
},
// CJS development
{
Expand Down

0 comments on commit fd1c0d7

Please sign in to comment.