Use "resolveConfig" as a config merge utility #2338
frederikhors
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Yep that will work! The order has to be reversed though, like:
These will also be ultimately merged with the default config as well, which currently can't be avoided. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm having trouble to get this idea to work. Could you provide an example, please? That would be awesome. This what I'm coming up so far:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From what I understand from reading the docs we can use
import resolveConfig from 'tailwindcss/resolveConfig'
to generate a fully merged version of our configuration.I'm wondering if we can use it for
merge
too. Like this:Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions