Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters