/ is the highest-traffic route but was missing from both the public-route instrumentation and the JS size budgets, so a payload regression there could never fail the build. It is now wrapped in withPublicPagePerformance and budgeted alongside the other public routes. optimizePackageImports listed date-fns, which is not a dependency (a no-op), while omitting the barrel-heavy packages that are actually imported: motion, @dnd-kit/core, @dnd-kit/sortable and @tanstack/react-virtual.
42 lines
755 B
JSON
42 lines
755 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"mode": "enforce",
|
|
"routes": [
|
|
{
|
|
"route": "/",
|
|
"maxInitialRawBytes": 716800,
|
|
"maxInitialGzipBytes": 225280
|
|
},
|
|
{
|
|
"route": "/me",
|
|
"maxInitialRawBytes": 716800,
|
|
"maxInitialGzipBytes": 225280
|
|
},
|
|
{
|
|
"route": "/news",
|
|
"maxInitialRawBytes": 716800,
|
|
"maxInitialGzipBytes": 225280
|
|
},
|
|
{
|
|
"route": "/events",
|
|
"maxInitialRawBytes": 716800,
|
|
"maxInitialGzipBytes": 225280
|
|
},
|
|
{
|
|
"route": "/search",
|
|
"maxInitialRawBytes": 716800,
|
|
"maxInitialGzipBytes": 225280
|
|
},
|
|
{
|
|
"route": "/admin/catalog",
|
|
"maxInitialRawBytes": 1208320,
|
|
"maxInitialGzipBytes": 389120
|
|
},
|
|
{
|
|
"route": "/admin/studio/furni",
|
|
"maxInitialRawBytes": 1607680,
|
|
"maxInitialGzipBytes": 522240
|
|
}
|
|
]
|
|
}
|