Open BorntraegerMarc opened 7 years ago
Is it possible to white list files in static.ignore in the ngsw-manifest.json? So that it only considers certain files.
static.ignore
ngsw-manifest.json
I tried:
"static.ignore": [ "^((?!\/assets\/bower_components\/app-layout\/app-box\/app-box.html).)*$", "^((?!\/assets\/bower_components\/app-layout\/app-drawer\/app-drawer.html).)*$" ]
So basically doing a NOT-Regex-Statement. The problem here is that it works if you only have the first file:
"static.ignore": [ "^((?!\/assets\/bower_components\/app-layout\/app-box\/app-box.html).)*$" ]
As soon as you add another statement then the files do not match ALL regex criteria. Resulting ultimately in no files get added at all (so all files are ignored).
I just wanted to white list the app-box.html and app-drawer.html
app-box.html
app-drawer.html
Is it possible to white list files in
static.ignore
in thengsw-manifest.json
? So that it only considers certain files.I tried:
So basically doing a NOT-Regex-Statement. The problem here is that it works if you only have the first file:
As soon as you add another statement then the files do not match ALL regex criteria. Resulting ultimately in no files get added at all (so all files are ignored).
I just wanted to white list the
app-box.html
andapp-drawer.html