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

Ensure that we fallback to the first argument when -i is missing #5464

Merged
merged 1 commit into from Sep 10, 2021

Conversation

RobinMalfait
Copy link
Contributor

@RobinMalfait RobinMalfait commented Sep 10, 2021

If you have a command like this:

npx tailwindcss app.css -o output.css

Then you would get a deprecation warning:

[deprecation] Running tailwindcss without -i, please provide an input file.

However, this is a deprecation warning, but the CLI won't work if you don't have a -i. For now we will fallback to the first argument (in this case app.css) as the input.

@RobinMalfait RobinMalfait changed the title ensure that we fallback to the first argument without any flags Ensure that we fallback to the first argument without any flags Sep 10, 2021
@RobinMalfait RobinMalfait changed the title Ensure that we fallback to the first argument without any flags Ensure that we fallback to the first argument when -i is missing Sep 10, 2021
@RobinMalfait RobinMalfait merged commit 30badad into master Sep 10, 2021
@RobinMalfait RobinMalfait deleted the ensure-cli-missing-i-still-works branch September 10, 2021 08:14
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

Successfully merging this pull request may close these issues.

None yet

1 participant