-
-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Rspack Dev Tools Slow when source-maps are generated using "eval" option #6714
Comments
Hello @pushkargupta9807, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by |
@LingyuCoder @h-a-n-a yarn Intructions:
you can clearly repro the above and see the difference in the way source files are loaded with this devTools option with eval. |
a gentle follow up, @SyMind hopefully you are able to repro the issue. Thanks |
@pushkargupta9807 I am following up on this issue. |
@pushkargupta9807 I fixed it. Please try again. |
Thank you @SyMind . Let me try and get back. |
@SyMind I tried with the Rspack 0.7.6-canary-f272bd8-20240625122346 and Rspack 0.7.5 versions - however the issue still remains. Is the fixed merged in these versions? Still do not see the file tree structure with "eval-cheap-module-source-map": |
@SyMind just a follow up, I do not think the issue is fixed. Can you please check. Thanks |
System Info
System:
OS: Linux 6.5 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (32) x64 Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
Memory: 110.57 GB / 125.78 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 20.11.0 - /usr/local/share/nvm/versions/node/v20.11.0/bin/node
Yarn: 1.23.19 - /usr/bin/yarn
npm: 10.2.4 - /usr/local/share/nvm/versions/node/v20.11.0/bin/npm
Watchman: 20240317.093234.0 - /usr/local/bin/watchman
Browsers: Edge
Details
Hi some of my team members have reported the below issue when serving an app and debugging , so wanted to check if others are experiencing the same issue:
After testing with various devTool options it seems like with the "eval-cheap-module-source-map" option does 2 things:
When I remove the "eval" option and just use "cheap-module-source-map" , I see:
So is it a bug with with rspack when source maps are generated using "eval" option?
Reproduce link
No response
Reproduce Steps
Debug an application with source -maps generated using the devTools: "eval-cheap-module-source-map" option and observe:
The text was updated successfully, but these errors were encountered: