web-infra-dev / rspack

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

Support `--output-path` CLI option #4977

Closed anonrig closed 6 months ago

anonrig commented 6 months ago

What problem does this feature solve?

This is in par with Webpack cli. It would allow seamless migration to Rspack with the size of Sentry.

What does the proposed API of configuration look like?

rspack --mode production --output-path=public would change the output path to public

LingyuCoder commented 6 months ago

Supported by #4979