-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(page-data): add key to allPages (#10625)
* fix(page-data): add key to allPages * add fryuni's test * replaced object.entries(allpages) * tmp: change pagesByComponents by pagesByKeys * fix pagesByKeys.get() in plugin-ssr & plugin-manifest * remove logs * remove useless generators * another useless generator * use null byte in key * tmp function in pipeline.ts * refactor getVirtualModulePageName * refactor getPageKeyFromVirtualModulePageName * clean & comments * better key and fix build * utils: add makePageDataKey * fix(pipeline): retrieveRoutesToGenerate for ssr * internals: getPageData function * tmp(ssr-split-manifest): fix test ? * fix?: ssr clean static output * internals: getPageDatasWithPublicKey * internals: getPageDatasByHoistedScriptId & getPagesDatasByComponent * remove broken & useless virtualModuleNameFromResolvedId * chore: changeset * fix: sanitize slashes in filepaths * Revert "fix: sanitize slashes in filepaths" This reverts commit 5c3a75f. * fix?: remove route from virtual module name * fix: concat & array.from * update changeset * clean unnecessary change * remove unnecessary pageInfo * add return types to utils functions * revert a comment deletion * fix cleanStaticOutput * changes from ematipico review * moving a todo outside jsdoc (cc @ematipico ) * Update .changeset/great-turtles-greet.md Co-authored-by: Sarah Rainsberger <[email protected]> * Update .changeset/great-turtles-greet.md Co-authored-by: Sarah Rainsberger <[email protected]> * chore: fix merge conflicts * fix: incorrect function * remove logs * revert: codepoint change --------- Co-authored-by: Princesseuh <[email protected]> Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: Emanuele Stoppa <[email protected]>
- Loading branch information
1 parent
61f47a6
commit 698c2d9
Showing
20 changed files
with
549 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"astro": minor | ||
--- | ||
|
||
Adds the ability for multiple pages to use the same component as an `entrypoint` when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.