Skip to content

Commit 53193c0

Browse files
committed
bugfix: correct microbundle paths
For some reason microbundle wasn't using the paths for UMD and CJS listed in the package.json
1 parent 1537592 commit 53193c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "8.26.1",
44
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API",
55
"source": "src/index.tsx",
6-
"main": "dist/react-intersection-observer.cjs.js",
6+
"main": "dist/react-intersection-observer.js",
77
"module": "dist/react-intersection-observer.m.js",
88
"esmodule": "dist/react-intersection-observer.esm.js",
9-
"unpkg": "dist/react-intersection-observer.umd.min.js",
9+
"unpkg": "dist/react-intersection-observer.umd.js",
1010
"typings": "dist/index.d.ts",
1111
"author": "Daniel Schmidt",
1212
"sideEffects": false,

0 commit comments

Comments
 (0)