[NEXT-1142] app increase bundle size of pages #49286
Labels
bug
Issue was opened via the bug report template.
linear: next
Confirmed issue that is tracked by the Next.js team.
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP Fri Apr 2 22:23:49 UTC 2021 Binaries: Node: 16.19.0 npm: 8.19.3 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.1-canary.1 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/QzCurious/nextjs-app-increase-bundle-size-of-pages
To Reproduce
Check the bundle size of pages of a clean next-app
git clone [email protected]:QzCurious/nextjs-app-increase-bundle-size-of-pages.git
cd nextjs-app-increase-bundle-size-of-pages.git
git checkout e73f9f4
yarn
yarn build
Check the bundle size of pages of a next-app with a
app/home/page.tsx
git checkout 93a54da
yarn
yarn build
Describe the Bug
By just adding a minimal page in app directory, it increase the bundle size of pages.
Expected Behavior
The bundle size of pages should not affected by app directory.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
NEXT-1142
The text was updated successfully, but these errors were encountered: