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

Request: Remove the Warning about --production #6698

Open
bdkjones opened this issue Aug 8, 2023 · 0 comments
Open

Request: Remove the Warning about --production #6698

bdkjones opened this issue Aug 8, 2023 · 0 comments

Comments

@bdkjones
Copy link

bdkjones commented Aug 8, 2023

This is a simple feature request (hence the lack of issue template). See this screenshot:

Screenshot 2023-08-07 at 22 20 06

The Problem:

--production is dead-simple for humans to remember. --omit=dev, by contrast, is awful for humans. Every time I have to type the command I think, "What's that gobbledegook they changed '--production' to again? Eh, whatever, the old way works fine."

The Fix:

Just get rid of the CLI warning and let --production be an official alias for --omit=dev. The canonical build environments since the dawn of computers have been production and development, so it makes sense to recognize these as official aliases. For other, more nuanced environments, the --omit= parameter provides fine-grained control.

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

No branches or pull requests

1 participant