web-infra-dev / rspack

The fast Rust-based web bundler with webpack-compatible API 🦀️
https://rspack.dev
MIT License
10.04k stars 573 forks source link

feat: implement output.clean.keep: Option<string> #8479

Open ClSlaid opened 2 days ago

ClSlaid commented 2 days ago

Summary

Part of #7822

Checklist

CLAassistant commented 2 days ago

CLA assistant check
All committers have signed the CLA.

netlify[bot] commented 2 days ago

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
Latest commit be23764a2a7fc65214f86d5667569cd26fb6b9fb
Latest deploy log https://app.netlify.com/sites/rspack/deploys/673ce790a78c840008735a8a
Deploy Preview https://deploy-preview-8479--rspack.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

ClSlaid commented 2 days ago

/cc @h-a-n-a I wonder where I can add tests?

inottn commented 2 days ago

You can write test cases under packages/rspack-test-tools/tests/configCases/clean/ignore-string.