-
-
Notifications
You must be signed in to change notification settings - Fork 646
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 more command-line flags #7573
Comments
Can you answer my question? I see these two variables below, but it doesn't seem to have been actually used? rspack/packages/rspack-cli/src/commands/serve.ts Lines 46 to 47 in fd631fa
|
it's used here, if multi compiler specify same port, it will throw error |
rspack/packages/rspack-cli/src/commands/serve.ts Lines 101 to 107 in fd631fa
But it doesn't seem to be used anywhere else except here. |
why,the push will update usedports |
This is where I am confused, this code seems meaningless. |
if you have two compiler and both use same port,during loop the usedports is updated so it can be used to detect conflict in next iteration |
What problem does this feature solve?
Rspack currently missing some cli flags which cause some migration pain for users, see https://birtles.blog/2024/08/14/lessons-learned-switching-to-rspack/#command-line-flags
we can align more flags to make migration easier
What does the proposed API of configuration look like?
seems no need to support all flags(some flags are rarely used and hard to understand), but we can support some common flags like
The text was updated successfully, but these errors were encountered: