From f9cc1b4be86da3842ddc89515a126cf0e0a692fa Mon Sep 17 00:00:00 2001 From: Rishi Raj Jain Date: Sat, 16 Sep 2023 14:03:39 +0530 Subject: [PATCH 1/2] fix-page-symbol --- .changeset/two-jeans-serve.md | 5 +++++ packages/astro/src/core/build/generate.ts | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/two-jeans-serve.md diff --git a/.changeset/two-jeans-serve.md b/.changeset/two-jeans-serve.md new file mode 100644 index 000000000000..3977977ba3d4 --- /dev/null +++ b/.changeset/two-jeans-serve.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +show redirect symbol as of the page diff --git a/packages/astro/src/core/build/generate.ts b/packages/astro/src/core/build/generate.ts index 5dd6af02149c..02c78c8ae1ae 100644 --- a/packages/astro/src/core/build/generate.ts +++ b/packages/astro/src/core/build/generate.ts @@ -297,7 +297,10 @@ async function generatePage( mod: pageModule, }; - const icon = pageData.route.type === 'page' ? green('▶') : magenta('λ'); + const icon = + pageData.route.type === 'page' || pageData.route.type === 'redirect' + ? green('▶') + : magenta('λ'); if (isRelativePath(pageData.route.component)) { logger.info(null, `${icon} ${pageData.route.route}`); } else { From a8c8cbdccf1e6813c8b4f720b23b6c20ed94fc68 Mon Sep 17 00:00:00 2001 From: Rishi Raj Jain Date: Mon, 18 Sep 2023 14:29:40 +0530 Subject: [PATCH 2/2] Update two-jeans-serve.md --- .changeset/two-jeans-serve.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/two-jeans-serve.md b/.changeset/two-jeans-serve.md index 3977977ba3d4..8312b82b12af 100644 --- a/.changeset/two-jeans-serve.md +++ b/.changeset/two-jeans-serve.md @@ -1,5 +1,5 @@ --- -'astro': minor +'astro': patch --- show redirect symbol as of the page