Skip to content

support ignoreList option in SourceMapDevToolPlugin #19389

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

Open
hardfist opened this issue Apr 7, 2025 · 4 comments
Open

support ignoreList option in SourceMapDevToolPlugin #19389

hardfist opened this issue Apr 7, 2025 · 4 comments

Comments

@hardfist
Copy link
Contributor

hardfist commented Apr 7, 2025

Feature request

ignoreList is part of sourcemap spec and supported in chrome devtools, even it can be implemented in user side like next.js's implementation but it will introduce extra performance cost especially in Rspack, if it's implemented in sourceMapDevtoolPlugin, rspack can also provide same functionality with best performance.

What is the expected behavior?
support ignoreList option in sourcemapDevtoolPlugin
What is motivation or use case for adding/changing the behavior?
follow sourcemap spec and provide same api for rspack & webpack with performant implementation
How should this be implemented in your opinion?
nearly same as next's implementation but no need to introduce extra processAssets hook call
Are you willing to work on this yourself?
yes

@alexander-akait
Copy link
Member

Feel free to send a PR 👍

@Vansh5632
Copy link
Contributor

@hardfist how you are trying to approach this my idea would be the to extend plugin option: adding a option of ignorelist and then integrating that during source map generation

@hardfist
Copy link
Contributor Author

hardfist commented Apr 7, 2025

@hardfist how you are trying to approach this my idea would be the to extend plugin option: adding a option of ignorelist and then integrating that during source map generation

yes, that's the plan

@syed-yaga
Copy link

Modify the plugin to support an ignoreList option

@snitin315 snitin315 self-assigned this Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants