Please sign in to comment.
fix(service-worker): throw when using the unsupported `versionedFiles…
…` option in config (#33903) In 5d5c94d, the deprecated `versionedFiles` option from the SW asset-group configuration in `ngsw-config.json`. As a result, the option would be silently ignored and the runtime behavior of the SW would change (i.e. some files might not be cached and available offline any more). This change could be easily go unnoticed by the developer. This commit ensures this does not happen by throwing a build-time error, when detecting the unsupported `versionedFiles` option with an error message prompting the user to use the `files` option instead. Jira issue: [FW-1727](https://angular-team.atlassian.net/browse/FW-1727) PR Close #33903
- Loading branch information
Showing with 38 additions and 0 deletions.