Bundle splitting per page with createPages API stopped working after updating to Gatsby 4.5.0 #39022
Open
2 tasks done
Labels
status: triage needed
Issue or pull request that need to be triaged and assigned to a reviewer
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
After updating Gatsby from 4.4.0 to 4.5.0, the bundle split per page functionality stopped working. We use the
createPages
API to create pages dynamically. We expected each page to have its own bundle, but now it appears that the entire app is bundled together when runninggatsby build
.Reproduction Link
https://github.com/HoneyBook/gatsby-minimal-reproduction
Steps to Reproduce
npm install
npm run build
Expected Result
Each page should have its own bundle as it did in Gatsby 4.4.0.
Actual Result
The entire app is bundled together, and bundle splitting per page is not working in the build output.
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: