victory
victory copied to clipboard
Webpack warns about not finding source map files
When updating to victory v36.5.1, webpack issues a lot of warnings (159 in my case) with these contents:
WARNING in ../node_modules/victory/es/index.js
Module Warning (from ../node_modules/react-scripts/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '[...]/node_modules/victory/es/index.js.map' file: Error: ENOENT: no such file or directory, open '[...]/node_modules/victory/es/index.js.map'
I'm using create react app 5.0.1 for my app. I.e. it's based on webpack 5.73.0
This was likely introduced with #2307
I have the same issue on a fresh React (18.2) install with Victory v36.5.3. Downgrading didn't fix it either (tried v36.0). Also seems to brick React's hot-reloading.
Same issue here on Victory v36.5.2
Same issue here on Victory v36.5.3
➕
Any update to this bug or workaround?
I am currently investigating, and working on a fix. Thank you for reporting!
Fixed in 36.6.3
, thanks for reporting!