mattlewis92 / webpack-retry-chunk-load-plugin

A webpack plugin to retry loading of chunks that failed to load
MIT License
234 stars 43 forks source link

[Feature] Add timeout option #17

Closed Amraneze closed 3 years ago

Amraneze commented 3 years ago

Hi,

It would be good to have a timeout option that would be set 0 by default. Sometimes, users have some network issues for some seconds (Anti-virus, proxy, too many requests, ...) that can be solved just by waiting a little before importing the chunk. Let me know your point of view

Thank you

mattlewis92 commented 3 years ago

Sounds like a good idea to me, would you like to make a pull request with the change?

Amraneze commented 3 years ago

I will start working on it