diff --git a/nx-dev/nx-dev/next.config.js b/nx-dev/nx-dev/next.config.js index ee22caf9c0fd2..fe32522daedd2 100644 --- a/nx-dev/nx-dev/next.config.js +++ b/nx-dev/nx-dev/next.config.js @@ -190,6 +190,22 @@ module.exports = withNx({ permanent: true, }); } + // Plugins Documents + for (let s of Object.keys(redirectRules.pluginUrls)) { + rules.push({ + source: s, + destination: redirectRules.pluginUrls[s], + permanent: true, + }); + } + // References + for (let s of Object.keys(redirectRules.referenceUrls)) { + rules.push({ + source: s, + destination: redirectRules.referenceUrls[s], + permanent: true, + }); + } // Nesting 5min tutorials in Getting Started for (let s of Object.keys(redirectRules.nested5minuteTutorialUrls)) { rules.push({