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

fix(cli): allow unknown options #1188

Closed
wants to merge 1 commit into from

Conversation

underfin
Copy link
Member

@underfin underfin commented Dec 2, 2020

fix #1164

@aleclarson
Copy link
Member

Is it really necessary? I provided a workaround using process.env. It's better UX to warn users of typos, or they'll be very confused and open issues about it.

@yyx990803
Copy link
Member

I agree, should use env vars instead.

@yyx990803 yyx990803 closed this Jan 2, 2021
@underfin underfin deleted the cli-allow-unknown-options branch January 2, 2021 23:56
@dying318
Copy link

In some case, the var is passed by the shell script on the deploy progress which is not known or unnecessary to be maintained by developer, maybe a dynamic option is needed still.

@yarinsa
Copy link

yarinsa commented Feb 23, 2022

Could have been useful for me as well

@vitejs vitejs locked and limited conversation to collaborators Feb 23, 2022
@Niputi
Copy link
Contributor

Niputi commented Feb 23, 2022

please open a issue instead of commenting on old pull requests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot pass unknown cli arguments to vite.config
6 participants