rsnext/packages
Zack Tanner aec75c2f06
fix: build stats should properly report root page size in appDir (#51854)
### What?
`next build` is incorrectly reporting file size stats for the root path
when using the app dir

### Why?
In #50768, the denormalization logic was removed for appDir routes, but
`pagesManifest` has the root page keyed by `/` while the actual path
will be `/index`.

### How?
This re-adds a simpler denormalize function that just replaces `/index`
with `/`.

semi-related: #42819 

Fixes #51692

link NEXT-1306

---------

Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
2023-06-26 18:57:50 -07:00
..
create-next-app v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
eslint-config-next v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
eslint-plugin-next feat: Introduce eslint rule for async client components (#51547) 2023-06-26 21:10:24 +00:00
font v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next fix: build stats should properly report root page size in appDir (#51854) 2023-06-26 18:57:50 -07:00
next-bundle-analyzer v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-codemod v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-env v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-mdx v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-plugin-storybook v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-polyfill-module v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-polyfill-nomodule v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
next-swc Refactor next-font-manifest-plugin (#51835) 2023-06-26 13:43:37 -07:00
react-dev-overlay v13.4.8-canary.5 2023-06-26 16:18:48 +00:00
react-refresh-utils v13.4.8-canary.5 2023-06-26 16:18:48 +00:00