Closed KhaAbu closed 2 years ago
Solution to this is using devtool: 'eval' or 'eval-cheap-module-source-map'.
Should be possible without removing source maps from development webpack config.
If you look at the stack, the problem is in the source-map
dependency of @pmmmwh/react-refresh-webpack-plugin
. Please report the issue together with a minimal reproducing project in the corresponding repositories โ this is not a React bug.
๐ bug report
Npm install jest with my current build gives me a module build error that I cannot fix, or have been trying to fix for a week now.
The bug also occurs if I use npm audit fix --force on my build without having jest installed.
๐ Configuration (.babelrc, package.json, cli command)
I use react-refresh aka Fast refresh, I have found it very difficult using this, mostly because its in beta or no official v1 version and also the setup seems so weird, especially because the other hot loaders is not deprecated...
๐ Your Environment