|
4 | 4 | "description": "Monitor if a component is inside the viewport, using IntersectionObserver API", |
5 | 5 | "source": "./src/index.tsx", |
6 | 6 | "main": "./dist/react-intersection-observer.js", |
7 | | - "module": "./dist/react-intersection-observer.mjs", |
| 7 | + "module": "./dist/react-intersection-observer.esm.js", |
| 8 | + "unpkg": "./dist/react-intersection-observer.umd.js", |
| 9 | + "types": "./dist/index.d.ts", |
8 | 10 | "exports": { |
9 | | - "./test-utils": "./test-utils.js", |
| 11 | + "./test-utils": "./dist/test-utils.js", |
10 | 12 | ".": { |
11 | | - "require": "./react-intersection-observer.js", |
12 | | - "default": "./react-intersection-observer.modern.mjs" |
| 13 | + "require": "./dist/react-intersection-observer.js", |
| 14 | + "default": "./dist/react-intersection-observer.modern.mjs" |
13 | 15 | } |
14 | 16 | }, |
15 | | - "unpkg": "./dist/react-intersection-observer.umd.js", |
16 | | - "typings": "./dist/index.d.ts", |
17 | 17 | "author": "Daniel Schmidt", |
18 | 18 | "sideEffects": false, |
19 | 19 | "repository": { |
|
96 | 96 | }, |
97 | 97 | "size-limit": [ |
98 | 98 | { |
99 | | - "path": "dist/react-intersection-observer.mjs", |
| 99 | + "path": "dist/react-intersection-observer.esm.js", |
100 | 100 | "name": "InView", |
101 | 101 | "import": "{ InView }", |
102 | 102 | "limit": "1.8 kB" |
103 | 103 | }, |
104 | 104 | { |
105 | | - "path": "dist/react-intersection-observer.mjs", |
| 105 | + "path": "dist/react-intersection-observer.esm.js", |
106 | 106 | "name": "useInView", |
107 | 107 | "import": "{ useInView }", |
108 | 108 | "limit": "1.3 kB" |
109 | 109 | }, |
110 | 110 | { |
111 | | - "path": "dist/react-intersection-observer.mjs", |
| 111 | + "path": "dist/react-intersection-observer.esm.js", |
112 | 112 | "name": "observe", |
113 | 113 | "import": "{ observe }", |
114 | 114 | "limit": "1 kB" |
|
0 commit comments