If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code.
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Do you want to request a feature, report a bug or ask a question?
Bug
What is the current behavior?
I'm getting the following error when using webpack 5:
What is the expected behavior?
No error.
If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code.
npm install
npm run dev
ornpm run build
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Not sure if it has anything to do with me using Next.js, but things broke when I upgraded it from 10.0.2 to 10.0.7. Installing webpack explicitly didn't help. But this workaround fixes it: https://github.com/kamilmielnik/cv/pull/5/commits/d01d00784806da5154ac452f5e7ef9e45b0ebc37