dependabot[bot] on npm_and_yarn
right webpack is more than likely accessing an API exposed by the browser
Is there some callback or Event in webpack to know when a module or chunk has failed to load in the browser?
I know that webpack can tell you that a certain module is not found when bundling, but suppose you make some changes to the scripts, but a user is already in the webapp... then the chunk names that were bundled earlier will not be found.
Below is such error that will appear:
fb81469e-872e-4459-b2ba-91ebfaf50d48.js:106 Uncaught (in promise) ChunkLoadError: Loading chunk 28 failed.