build(docs-infra): remove redundant `navigationUrls` globs from `ngsw-config.json` (#42452)

This commit removes some `navigationUrls` globs from `ngsw-config.json`
that have no effect. More specifically:
- It removes globs of the form `!/**/xyz.html`, since these are already
  covered by the more generic `!/**/*.*` glob.
- It removes `!/api/**/NgFor`, since it does not have a corresponding
  redirect rule in `firebase.json`.

This is in preparation of automatically generating the ServiceWorker
`navigationUrls` based on `firebase.json`.

PR Close #42452
This commit is contained in:
George Kalpakas 2021-06-17 23:59:43 +03:00 committed by Dylan Hunn
parent 36fb5744db
commit 4635d4f957
1 changed files with 0 additions and 22 deletions

View File

@ -75,13 +75,11 @@
"!/**/*__*", "!/**/*__*",
"!/**/*__*/**", "!/**/*__*/**",
"!/**/stackblitz", "!/**/stackblitz",
"!/**/stackblitz.html",
"!/api/*/**/*-(class|directive|var|interface|function|pipe|let|type-alias|decorator)", "!/api/*/**/*-(class|directive|var|interface|function|pipe|let|type-alias|decorator)",
"!/api/**/AnimationStateDeclarationMetadata*", "!/api/**/AnimationStateDeclarationMetadata*",
"!/api/**/CORE_DIRECTIVES*", "!/api/**/CORE_DIRECTIVES*",
"!/api/**/DirectiveMetadata*", "!/api/**/DirectiveMetadata*",
"!/api/**/HTTP_PROVIDERS*", "!/api/**/HTTP_PROVIDERS*",
"!/api/**/NgFor",
"!/api/**/NgFor-*", "!/api/**/NgFor-*",
"!/api/**/PLATFORM_PIPES*", "!/api/**/PLATFORM_PIPES*",
"!/api/animate/**", "!/api/animate/**",
@ -98,62 +96,42 @@
"!/guide/bazel", "!/guide/bazel",
"!/guide/change-log", "!/guide/change-log",
"!/getting-started", "!/getting-started",
"!/getting-started.html",
"!/getting-started/**", "!/getting-started/**",
"!/guide/cli-quickstart", "!/guide/cli-quickstart",
"!/guide/cli-quickstart.html",
"!/guide/cli-quickstart/", "!/guide/cli-quickstart/",
"!/guide/displaying-data", "!/guide/displaying-data",
"!/guide/displaying-data.html",
"!/guide/displaying-data/", "!/guide/displaying-data/",
"!/guide/learning-angular", "!/guide/learning-angular",
"!/guide/learning-angular.html",
"!/guide/learning-angular/", "!/guide/learning-angular/",
"!/guide/metadata", "!/guide/metadata",
"!/guide/metadata.html",
"!/guide/metadata/", "!/guide/metadata/",
"!/guide/ngmodule", "!/guide/ngmodule",
"!/guide/ngmodule.html",
"!/guide/ngmodule/", "!/guide/ngmodule/",
"!/guide/service-worker-getstart", "!/guide/service-worker-getstart",
"!/guide/service-worker-getstart.html",
"!/guide/service-worker-getstart/", "!/guide/service-worker-getstart/",
"!/guide/service-worker-comm", "!/guide/service-worker-comm",
"!/guide/service-worker-comm.html",
"!/guide/service-worker-comm/", "!/guide/service-worker-comm/",
"!/guide/service-worker-configref", "!/guide/service-worker-configref",
"!/guide/service-worker-configref.html",
"!/guide/service-worker-configref/", "!/guide/service-worker-configref/",
"!/guide/updating-to-version-10", "!/guide/updating-to-version-10",
"!/guide/updating-to-version-10.html",
"!/guide/updating-to-version-10/", "!/guide/updating-to-version-10/",
"!/guide/updating-to-version-11", "!/guide/updating-to-version-11",
"!/guide/updating-to-version-11.html",
"!/guide/updating-to-version-11/", "!/guide/updating-to-version-11/",
"!/guide/webpack", "!/guide/webpack",
"!/guide/webpack.html",
"!/guide/webpack/", "!/guide/webpack/",
"!/guide/setup", "!/guide/setup",
"!/guide/setup.html",
"!/guide/setup-systemjs-anatomy", "!/guide/setup-systemjs-anatomy",
"!/guide/setup-systemjs-anatomy.html",
"!/guide/quickstart", "!/guide/quickstart",
"!/guide/quickstart.html",
"!/news", "!/news",
"!/news.html",
"!/news/", "!/news/",
"!/start/data", "!/start/data",
"!/start/data/", "!/start/data/",
"!/start/data.html",
"!/start/deployment", "!/start/deployment",
"!/start/deployment/", "!/start/deployment/",
"!/start/deployment.html",
"!/start/forms", "!/start/forms",
"!/start/forms/", "!/start/forms/",
"!/start/forms.html",
"!/start/routing", "!/start/routing",
"!/start/routing/", "!/start/routing/",
"!/start/routing.html",
"!/styleguide", "!/styleguide",
"!/styleguide/**", "!/styleguide/**",
"!/testing", "!/testing",