react-spring icon indicating copy to clipboard operation
react-spring copied to clipboard

[bug]: Wrong source-maps

Open toljaEmbroker opened this issue 1 year ago • 0 comments

Which react-spring target are you using?

  • [X] @react-spring/web
  • [ ] @react-spring/three
  • [ ] @react-spring/native
  • [ ] @react-spring/konva
  • [ ] @react-spring/zdog

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

toljaEmbroker avatar Nov 16 '23 14:11 toljaEmbroker