pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

[BUG] Sourcemaps are not generated properly

Open simone1999 opened this issue 5 months ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Product

Trade

Current Behavior

image It looks like source maps are not generated properly. running the UI in dev mode shows traces from webpack-internal, which likely means that source maps are not generated properly. This likely not only complicates your local development but also your Sentry traces.

Expected Behavior

The actual source code being linked in traces in dev mode as well as in sentry.

Steps To Reproduce

checkout the current develop branch, install dependencies and start UI in dev mode with pnpm run dev. Then look into the browser console and see stack traces being linked to webpack-internal rather than the original source code.

Environment

- OS: Windows
- Browser: Brave and Firefox

Anything else?

No response

simone1999 avatar Sep 04 '24 20:09 simone1999