docs: Add redirect for old upgrade guide

This commit is contained in:
Aaron
2025-03-28 10:41:24 -05:00
parent f0f4437870
commit 5f5eb16705
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -32,6 +32,8 @@
/guide/build-targets.html /guide/multiple-browsers.html
/guide/installation.html /get-started/installation.html
/guide/introduction.html /get-started/introduction.html
/guide/upgrade-guide/wxt /guide/resources/upgrading.html
/guide/upgrade-guide/wxt.html /guide/resources/upgrading.html
# 0.19.0
/guide/go-further/entrypoint-side-effects.html /guide/go-further/entrypoint-loaders.html
+1 -1
View File
@@ -58,7 +58,7 @@ let versionChangelogBody = versionChangelog
if (originalBumpType === 'major') {
versionChangelogBody = versionChangelogBody.replace(
'[compare changes]',
`[⚠️ breaking changes](https://wxt.dev/guide/upgrade-guide/wxt) • [compare changes]`,
`[⚠️ breaking changes](https://wxt.dev/guide/resources/upgrading.html) • [compare changes]`,
);
}
const { releases: prevReleases } = await fs