Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Error code for chunk loading failure #346

Closed
SergeyPanchenkoWeWork opened this issue Feb 5, 2019 · 2 comments
Closed

Add Error code for chunk loading failure #346

SergeyPanchenkoWeWork opened this issue Feb 5, 2019 · 2 comments

Comments

@SergeyPanchenkoWeWork
Copy link
Contributor

Feature request

Added code property on Error object received when failed to load chunk, To help identify loading errors.
Related to webpack/webpack#8695

What is the expected behavior?
add CSS_CHUNK_LOAD_FAILED in error.code

How should this be implemented in your opinion?
Add error.code = 'CSS_CHUNK_LOAD_FAILED' in https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/src/index.js#L362

@alexander-akait
Copy link
Member

PR welcome

@SergeyPanchenkoWeWork
Copy link
Contributor Author

Sure #347 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants