7 Commits

Author SHA1 Message Date
Alan Agius
50ca94ac65 style: format ngsw-config 2020-07-13 12:19:58 -04:00
Alan Agius
d1b04480e8 fix(@schematics/angular): add manifest.webmanifest to the list of prefetched files in ngws-config.json (#15277)
In the latest versions of Chrome Version 76.0.3809.100, the `manifest.webmanifest` is being requested when offline and is caused a 504 error.

https://github.com/angular/angular-cli/issues/15259#issuecomment-519047384
2019-08-12 10:30:40 -07:00
Cyrille Tuzi
d747490fd9 feat(@schematics/angular): JSON schema for service worker config 2019-03-11 13:37:28 -07:00
Alan Agius
36eba0c9fc refactor: use .template suffix for all schematic files
Currently when using `ivy-ngcc` it will print out a warning

```
Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121.
```

Fixes #13378
2019-01-16 10:29:56 -08:00
Alan Agius
0692cacd06 feat(@schematics/angular): account for root level assets and resourcesOutputPath (#13074)
* feat(@schematics/angular): account for root level assets and `resourcesOutputPath`

By default we are only account for assets inside the assets folder. Which breaks the offline experience.

Fixes #13067

* test: add test to verify root level assets in service workers
2018-11-30 14:08:03 -08:00
George Kalpakas
8ce5ef48b8 style(@schematics/angular): minor improvements in ngsw-config.json 2018-06-13 16:55:42 +01:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00