Skip to content

Commit

Permalink
build(docs-infra): remove unnecessary work-around for SW config gener…
Browse files Browse the repository at this point in the history
…ation (angular#44114)

Since angular.io is now updated to a version that includes the fix
from angular#43679, the work-around added in
841c5ae can now be removed.

PR Close angular#44114
  • Loading branch information
gkalpak authored and atscott committed Nov 9, 2021
1 parent 26fc12e commit 74345f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions aio/ngsw-config.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
"/assets/images/favicons/favicon.ico",
"/assets/js/*.js",
"/*.css",
"/*.js",
"!/ngsw-worker.js",
"!/safety-worker.js",
"!/worker-basic.min.js"
"/*.js"
],
"urls": [
"https://fonts.googleapis.com/**",
Expand Down
2 changes: 1 addition & 1 deletion aio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"~~clean-generated": "node --eval \"require('shelljs').rm('-rf', 'src/generated')\"",
"pre~~build": "node scripts/build-ngsw-config",
"~~build": "ng build --configuration=stable",
"post~~build": "yarn build-404-page && ngsw-config dist src/generated/ngsw-config.json",
"post~~build": "yarn build-404-page",
"~~light-server": "light-server --bind=localhost --historyindex=/index.html --no-reload"
},
"//engines-comment": "If applicable, also update /package.json and /aio/tools/examples/shared/package.json",
Expand Down

0 comments on commit 74345f3

Please sign in to comment.