Unhappy with your [...slug]/page.tsx bundle size?
Unanswered
White-eyed Vireo posted this in #help-forum
White-eyed VireoOP
Catch-all routes can catch every reachable import—not only every slug. next/dynamic can defer components, but it does not create per-slug bundle boundaries.
Here’s an open-source build-time solution: next-slug-splitter.
https://medium.com/@gurkerl83/catch-all-routing-without-catch-all-bundles-8d8552625f82
Run the live benchmarks:
https://next-splitter.com/benchmark
Here’s an open-source build-time solution: next-slug-splitter.
https://medium.com/@gurkerl83/catch-all-routing-without-catch-all-bundles-8d8552625f82
Run the live benchmarks:
https://next-splitter.com/benchmark