pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.69k stars 3.55k forks source link

[BUG] Sourcemaps are not generated properly #10629

Open simone1999 opened 1 month ago

simone1999 commented 1 month ago

Is there an existing issue for this?

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

PancakeSwap-bot commented 3 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 2 days.