Skip to content

Conversation

cclauson
Copy link

Based on a reading of the implementation of ensureChunk() in the webpack source, it seems to support an optional fetchPriority parameter. As webpack-retry-chunk-loader is currently implemented, however, when ensureChunk() is replaced with a new function that calls the original version, this parameter is not passed through.

This PR proposes a modification that passes all arguments through. Javascript features such as arguments and function.apply() are proposed to ensure maximum browser compatibility.

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

Successfully merging this pull request may close these issues.

2 participants