-
Notifications
You must be signed in to change notification settings - Fork 1
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
Using multiple Inputs is broken. #14
Comments
This is the standard and recommended approach if you are trying to compile multiple input files into a single output file. This would not work if you are trying to compile multiple input files into multiple output files, as we would have to invoke the TailwindCSS cli multiple times (one per input/output pair). That would require configuration changes, as we only accept a single output setting at the moment. |
Which version of jekyll-tailwind are you using? It should be possible to define multiple input source, but those will be compiled down to a single output file. Here is a related code: |
This might be a mistake on my part, multiple input files (let's say Like this:
First input flag is being overwritten by a second one. And this is why only last input file is being used. Instead it's correct to pass multiple files to a single --input flag. Like so:
I'm not 100% sure that this is how it should be. But maybe @3213-cmd you can verify it on your project? Here is a PR that I prepared with this change: |
I am not a ruby expert, so I apologize if I can not give more detailed information.
But it seems like when specyfing multiple inputs that only the last one is processed. I assume that is because the tailwindcli simply takes the last --input parameter as input.
I was able to get arround the issue, by specyfing a "main.css" which uses @import declarations
The text was updated successfully, but these errors were encountered: