pancake-frontend
pancake-frontend copied to clipboard
[BUG] Sourcemaps are not generated properly
Is there an existing issue for this?
- [X] I have searched the existing issues
Product
Trade
Current Behavior
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