diff --git a/aio/firebase.json b/aio/firebase.json index 452e324f54..752e81bde2 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -122,7 +122,12 @@ // Strip off the `.html` extension, because Firebase will not do this automatically any more // (unless the new URL points to an existing file, which is not necessarily the case here). {"type": 301, "source": "/:somePath*/:file.html", "destination": "/:somePath*/:file"}, - {"type": 301, "source": "/:topLevelFile.html", "destination": "/:topLevelFile"} + {"type": 301, "source": "/:topLevelFile.html", "destination": "/:topLevelFile"}, + + // The below paths are referenced in users projects generated by the CLI + {"type": 301, "source": "/config/tsconfig", "destination": "/guide/typescript-configuration"}, + {"type": 301, "source": "/config/solution-tsconfig", "destination": "https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#solution-style-tsconfig"}, + {"type": 301, "source": "/config/app-package-json", "destination": "https://webpack.js.org/configuration/optimization/#optimizationsideeffects"} ], "rewrites": [ { diff --git a/aio/ngsw-config.json b/aio/ngsw-config.json index d5bb29fbac..c3977373aa 100644 --- a/aio/ngsw-config.json +++ b/aio/ngsw-config.json @@ -147,6 +147,7 @@ "!/styleguide", "!/styleguide/**", "!/testing", - "!/testing/**" + "!/testing/**", + "!/config/**" ] }