-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(astro): emit entry.mjs
to import pages via dynamic import
#7036
Conversation
🦋 Changeset detectedLatest commit: 869b483 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
c1ca019
to
7b04dd4
Compare
|
!preview multi-chunk |
|
bdbc5c1
to
9f8677b
Compare
9f8677b
to
869b483
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a nice refactor!
Changes
This PR refactors how the
entry.mjs
file is emitted. At the moment, the file structured of the emitted file during the first build is like thisAll pages are stored in one single file called
all.*
.After this change, the file system structure will look like this:
Testing
This is an internal refactor, which means that existing tests must pass.
Docs
N/A