Closed
Description
How should one prerender the rootmost route when using optional catch all routes and getStaticPaths
?
undefined
? null
? An empty Array []
?
Also reported:
Page Size First Load JS
┌ ● /[[...slug]] 335 B 59 kB
├ ├ /[]
├ ├ /[one]
├ ├ /[one/two]
├ └ /[one/two/three]
https://github.com/zackkrida/next-experimental-catchall-bug/blob/master/pages/%5B%5B...slug%5D%5D.js