pmndrs / react-spring

✌️ A spring physics based React animation library
http://www.react-spring.dev/
MIT License
28.05k stars 1.19k forks source link

[bug]: Wrong source-maps #2221

Open toljaEmbroker opened 10 months ago

toljaEmbroker commented 10 months ago

Which react-spring target are you using?

What version of react-spring are you using?

9.7.3

What's Wrong?

we are using source-map-loader, and there is issue with your source-maps, they point to "sources":["../../src/index.ts","../../src/applyAnimatedValues.ts","../../src/AnimatedStyle.ts","../../src/primitives.ts"] but there is no src path available in the package.

We'll ignore the warnings for now, I just wanted to point this out to you.

To Reproduce

just use create-react-app or add source-map-loader to your webpack.config.js

Expected Behaviour

To include those paths in the source-maps or remove the source-maps 🤷

Link to repo

I don't have any