build(docs-infra): redirect removed webpack guide to v5.angular.io (#24595)

The outdated webpack guide has been removed in #24478, but people might
still try to access it (via direct links or search-engine results).

Instead of returning 404, we will now redirect `/guide/webpack` to the
archived version of the guide at `v5.angular.io/guide/webpack`.

PR Close #24595
This commit is contained in:
George Kalpakas
2018-06-20 20:02:54 +03:00
committed by Miško Hevery
parent 1ce5a495d3
commit c11e84ee18
3 changed files with 4 additions and 2 deletions

View File

@ -178,6 +178,7 @@
/guide/service-worker-getstart /guide/service-worker-getting-started
/guide/service-worker-comm /guide/service-worker-communications
/guide/service-worker-configref /guide/service-worker-config
/guide/webpack https://v5.angular.io/guide/webpack
/news https://blog.angular.io/
/news.html https://blog.angular.io/
/testing /guide/testing