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

Don't emit @config in CSS when watching via the CLI #12327

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

thecrypticace
Copy link
Contributor

When using the CLI and the @config directive, we would not remove the directive on rebuilds caused by changes to any files covered by content. This would then cause the @config directive to appear in the output CSS file. Though, a re-save of the config file would remove the directive.

If you're using Tailwind CSS as a PostCSS plugin this did not happen.

This PR fixes this and now the @config directive is correctly removed in all cases.

Fixes #12258

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.

@config directive occasionally included in the built file
1 participant