Open belizariogr opened 1 month ago
Just to add an information: The component is lazy loading just like in the picture down below...
The file responsable to load the page is: src/core/services/UserRouter/index.tsx
It seems to be related to the problem of rspack sourcemap. Try using rspack 1.0.0, the debug works perfectly. 😢
Unfortunately this problem still exists in rspack v1.0.8. We still need to investigate further.
A bit of helpful information is that changing devtool
from source-map
to cheap-module-source-map
works.
We have the same problem.
I can confirm that cheap-module-source-map
works for development, but not for production.
@belizariogr bro, Which theme did you use? Looks good
I use https://mui.com/
Version
Details
Using version 1.0.x we are unanble to debug when files has more than 50 lines. If I downgrade to version 0.7.x the debug works perfectly.
Reproduce link
https://github.com/belizariogr/rsbuild-error
Reproduce Steps
Run: npm install
go to file: src/pages/Dashboard/index.tsx and try to debug in the last lines, just like the picture.