Skip to content
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

[Feature]: Support CleanPlugin like webpack #8603

Open
Tracked by #8445
GiveMe-A-Name opened this issue Dec 3, 2024 · 0 comments
Open
Tracked by #8445

[Feature]: Support CleanPlugin like webpack #8603

GiveMe-A-Name opened this issue Dec 3, 2024 · 0 comments
Labels
feat New feature or request PR welcome team The issue/pr is created by the member of Rspack.

Comments

@GiveMe-A-Name
Copy link
Member

What problem does this feature solve?

In webpack, we get CleanPlugin hook, that to add some custom code.
But in Rspack we can't do it.

What does the proposed API of configuration look like?

https://github.com/webpack/webpack/blob/4b4ca3bb53f36a5b8fc6bc1bd976ed7af161bd80/lib/CleanPlugin.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request PR welcome team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

No branches or pull requests

3 participants