Skip to content

Commit f707da6

Browse files
committed
chore: Updated the bundle size
1 parent 2c2fa9e commit f707da6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.size-limit.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
33
"path": "dist/bundle.esm.js",
4-
"limit": "645B",
4+
"limit": "661B",
55
"gzip": true
66
},
77
{
88
"path": "dist/bundle.cjs.js",
9-
"limit": "621B",
9+
"limit": "637B",
1010
"gzip": true
1111
},
1212
{
1313
"path": "polyfilled.js",
14-
"limit": "3384B",
14+
"limit": "3.4kB",
1515
"gzip": true
1616
}
1717
]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A React hook that allows you to use a ResizeObserver to measure an element's siz
1616
## Highlights
1717

1818
- Written in **TypeScript**.
19-
- **Tiny**: [645B](.size-limit.json) (minified, gzipped) Monitored by [size-limit](https://github.com/ai/size-limit).
19+
- **Tiny**: [661B](.size-limit.json) (minified, gzipped) Monitored by [size-limit](https://github.com/ai/size-limit).
2020
- Exposes an **onResize callback** if you need more control.
2121
- `box` [option](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver/observe#syntax).
2222
- Works with **SSR**.
@@ -359,4 +359,4 @@ The same technique can also be used to provide any of your preferred ResizeObser
359359

360360
## License
361361

362-
MIT
362+
MIT

0 commit comments

Comments
 (0)