Skip to content

Commit

Permalink
fix: add node.module export condition (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Aug 23, 2023
1 parent 57c5be1 commit aab74d6
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
Expand Up @@ -22,8 +22,8 @@
"source": "./src/index.ts",
"require": "./dist/react-portable-text.js",
"node": {
"import": "./dist/react-portable-text.cjs.mjs",
"require": "./dist/react-portable-text.js"
"module": "./dist/react-portable-text.esm.js",
"import": "./dist/react-portable-text.cjs.mjs"
},
"import": "./dist/react-portable-text.esm.js",
"default": "./dist/react-portable-text.esm.js"
Expand Down

0 comments on commit aab74d6

Please sign in to comment.