Skip to content

[bug]: Wrong source-maps #2221

@toljaEmbroker

Description

@toljaEmbroker

Which react-spring target are you using?

  • @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

Metadata

Metadata

Assignees

Labels

area: toolingWork on the tooling for the repokind: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions