We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 764f70d + a0c099b commit ae5dcf6Copy full SHA for ae5dcf6
1 file changed
package.json
@@ -8,8 +8,12 @@
8
"unpkg": "./dist/react-intersection-observer.umd.js",
9
"types": "./dist/index.d.ts",
10
"exports": {
11
- "./test-utils": "./dist/test-utils.js",
+ "./test-utils": {
12
+ "types": "./dist/test-utils.d.ts",
13
+ "default": "./dist/test-utils.js"
14
+ },
15
".": {
16
+ "types": "./dist/index.d.ts",
17
"require": "./dist/react-intersection-observer.js",
18
"default": "./dist/react-intersection-observer.modern.mjs"
19
}
0 commit comments