Skip to content

Commit cb43b6c

Browse files
Track raw, gzip, and brotli bundle sizes
Compare all three compression levels for each package: - Raw (uncompressed) - actual file size on disk - Gzip - most common server compression - Brotli - best compression, newer standard 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent a86e108 commit cb43b6c

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

.size-limit.json

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,59 @@
11
[
22
{
3-
"name": "react-on-rails (full)",
3+
"name": "react-on-rails (raw)",
4+
"path": "packages/react-on-rails/lib/*.js",
5+
"gzip": false,
6+
"brotli": false,
7+
"limit": "50 kB"
8+
},
9+
{
10+
"name": "react-on-rails (gzip)",
411
"path": "packages/react-on-rails/lib/*.js",
512
"gzip": true,
613
"limit": "20 kB"
714
},
815
{
9-
"name": "react-on-rails (client)",
10-
"path": "packages/react-on-rails/lib/ReactOnRails.client.js",
11-
"gzip": true,
12-
"limit": "1 kB"
16+
"name": "react-on-rails (brotli)",
17+
"path": "packages/react-on-rails/lib/*.js",
18+
"brotli": true,
19+
"limit": "15 kB"
20+
},
21+
{
22+
"name": "react-on-rails-pro (raw)",
23+
"path": "packages/react-on-rails-pro/lib/*.js",
24+
"gzip": false,
25+
"brotli": false,
26+
"limit": "100 kB"
1327
},
1428
{
15-
"name": "react-on-rails-pro (full)",
29+
"name": "react-on-rails-pro (gzip)",
1630
"path": "packages/react-on-rails-pro/lib/*.js",
1731
"gzip": true,
1832
"limit": "45 kB"
1933
},
2034
{
21-
"name": "react-on-rails-pro (client)",
22-
"path": "packages/react-on-rails-pro/lib/ReactOnRails.client.js",
23-
"gzip": true,
24-
"limit": "2 kB"
35+
"name": "react-on-rails-pro (brotli)",
36+
"path": "packages/react-on-rails-pro/lib/*.js",
37+
"brotli": true,
38+
"limit": "40 kB"
39+
},
40+
{
41+
"name": "react-on-rails-pro-node-renderer (raw)",
42+
"path": "packages/react-on-rails-pro-node-renderer/lib/*.js",
43+
"gzip": false,
44+
"brotli": false,
45+
"limit": "35 kB"
2546
},
2647
{
27-
"name": "react-on-rails-pro-node-renderer",
48+
"name": "react-on-rails-pro-node-renderer (gzip)",
2849
"path": "packages/react-on-rails-pro-node-renderer/lib/*.js",
2950
"gzip": true,
3051
"limit": "15 kB"
52+
},
53+
{
54+
"name": "react-on-rails-pro-node-renderer (brotli)",
55+
"path": "packages/react-on-rails-pro-node-renderer/lib/*.js",
56+
"brotli": true,
57+
"limit": "12 kB"
3158
}
3259
]

0 commit comments

Comments
 (0)