mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8a3d2aad30
It seems that at some point (potentially with the switch to Webpack 5) Webpack started using the full chunk name (instead of just a numeric identifier) in `ChunkLoadError` messages. So the error messages changed from: ``` ChunkLoadError: Loading chunk 2 failed. ``` ...to: ``` ChunkLoadError: Loading chunk src_app_something_some_module_ts failed. ``` This commit updates the regex that is used to detect such errors (in order to print ServiceWorker-related debug info) to correctly recognize the new error message format. PR Close #43088