-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
For same input Stdin produces different output from "-i <file.css>" #6865
Comments
Hey! Thank you for your suggestion! This should be fixed, and will be available in the next release (probably later today). The only difference is that you have to use More info on this can be found in the PR: #6876 |
@RobinMalfait That was fast and seems to be working great, awesome! Thank you very much, you have saved me and surely many others lots of unnecessary fs i/o. |
What version of Tailwind CSS are you using?
v3.0.9
What build tool (or framework if it abstracts the build tool) are you using?
Standalone CLI
What operating system are you using?
Windows 10
Describe your issue
When input is piped from stdin, output will not include any custom classes and layers as it does with
-i <file.css
.Reproduction
PS> echo '@tailwind base;@tailwind components;@tailwind utilities;.foo{@apply bg-gray-200;}' > input.css
PS> .\tailwindcss-windows-x64 -i input.css -o output.css
PS> cat input.css | .\tailwindcss-windows-x64 -o output-stdin.css
.foo
class appended to the end while output-stdin.css not.The text was updated successfully, but these errors were encountered: