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
throw an Error with type: 'asset', parser.dataUrlCondition.maxSize #13827
Labels
Comments
Seems you have broken data URI |
it works fine if i comment codes below // webpack/lib/NormalModuleFactory.js
cleanupForCache() {
for (const module of this._restoredUnsafeCacheEntries) {
ChunkGraph.clearChunkGraphForModule(module);
ModuleGraph.clearModuleGraphForModule(module);
// works fine if comment this line
// module.cleanupForCache();
}
} |
never do it |
Please provide code |
Here is my code and reproduce steps:
|
|
|
sokra
added a commit
that referenced
this issue
Jul 22, 2021
…d module fixes #13827 avoid pre-computing source types and sizes on cleanup for not-built modules (e. g. from unsafe cache) improve eror message when asset rendering fails
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
What is the current behavior?
I got an
TypeError: Cannot read property 'get' of undefined
when rebuild with configtype: 'asset', parser.dataUrlCondition.maxSize=1000
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
rebuild without error
Other relevant information:
webpack version: 5.45.1
Node.js version: 12.20.1
Operating System: macOS 10.14.4
Additional tools:
The text was updated successfully, but these errors were encountered: