parent
7df9040c05
commit
a0a3648e7a
|
@ -94,6 +94,16 @@ Notice that all of the files the browser needs to render this application are ca
|
|||
* `favicon.ico`.
|
||||
* Build artifacts (JS and CSS bundles).
|
||||
* Anything under `assets`.
|
||||
* Images and fonts directly under the configured `outputPath` (by default `./dist/<project-name>/`) or `resourcesOutputPath`. See [`ng build`](cli/build) for more information about these options.
|
||||
|
||||
|
||||
<div class="alert is-helpful">
|
||||
Pay attention to two key points:
|
||||
|
||||
1. The generated `ngsw-config.json` includes a limited list of cachable fonts and images extentions. In some cases, you might want to modify the glob pattern to suit your needs.
|
||||
|
||||
1. If `resourcesOutputPath` or `assets` paths are modified after the generation of configuration file, you need to change the paths manually in `ngsw-config.json`.
|
||||
</div>
|
||||
|
||||
### Making changes to your application
|
||||
|
||||
|
|
Loading…
Reference in New Issue