Skip to content

Commit

Permalink
fix: use the default field
Browse files Browse the repository at this point in the history
MicroBundle expects this, and uses it to generate the correct name of the exported file
  • Loading branch information
thebuilder committed Jun 15, 2022
1 parent 8b873cd commit 24be995
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 @@ -8,8 +8,8 @@
"exports": {
"./test-utils": "./test-utils.js",
".": {
"import": "./react-intersection-observer.modern.mjs",
"require": "./react-intersection-observer.js"
"require": "./react-intersection-observer.js",
"default": "./react-intersection-observer.modern.mjs"
}
},
"unpkg": "./dist/react-intersection-observer.umd.js",
Expand Down

0 comments on commit 24be995

Please sign in to comment.