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 tailwind with plugins by using a temporary file #200

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

crapStone
Copy link
Contributor

closes #136

Let tailwind output to a temporary file and read it afterwards instead of returning the stdout of the tailwind command.

I didn't know a better way than to put the temp file into a tmp directory inside the target folder.
temp_dir isn't supported by serde and I didn't want to put it into the TailwindConfig struct.

The path is present in the output for the output of the tailwind command for better transparency with the users.

and read it afterwards instead of returning the stdout of the tailwind command
@gbj
Copy link
Contributor

gbj commented Oct 13, 2023

Thanks very much! I appreciate these recent contributions.

@gbj gbj merged commit f57c006 into leptos-rs:main Oct 13, 2023
7 of 8 checks passed
@crapStone crapStone deleted the fix/tailwind-with-plugins branch October 14, 2023 19:00
@ckissane
Copy link

Thank you! Good workaround!

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.

Failing for tailwind plugins
3 participants