Skip to content

Commit 6b6b4b4

Browse files
author
Laurent Goudet
committed
Lazily cache the /*-es5*.js bundles
1 parent 3ccec48 commit 6b6b4b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/schematics/angular/service-worker/files/ngsw-config.json.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"resources": {
2323
"files": [
2424
"/assets/**",
25-
"<%= resourcesOutputPath %>/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
25+
"<%= resourcesOutputPath %>/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)",
26+
"/*-es5*.js"
2627
]
2728
}
2829
}

0 commit comments

Comments
 (0)