Skip to content

Don't add default config multiple times when presets are used #6567

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

Closed
wants to merge 1 commit into from

Conversation

thecrypticace
Copy link
Contributor

Fixes tailwindlabs/tailwindcss-aspect-ratio#30

When using presets if you included a config that did not specify presets: [] it would add the default config for each of those presets. We only want to do this once at the top level so we track depth when getting all configs so we only ever add the default config once at the beginning if we need to.

@RobinMalfait RobinMalfait deleted the fix/fix-config-merging branch December 16, 2021 16:41
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.

Utilities not always getting compiled when using multiple config files
1 participant