Automatic compilation of Gutenberg blocks #46
igorlopasovsky
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I agree that purge as it is is not ideal. But because it is not a bug, I've transferred it to a discussion. I've been thinking about a ways of trying enhance this, but so far no real solutions I'm afraid. The problem for example with figuring out the template files with |
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
-
I am obviously struggling with JIT when using Gutenberg blocks. Wouldn't it be somehow possible to render all templates to temporary file first and then include this in the purge option in tailwind config? Safelist works fine for simple themes but not for complex designs with hundres of classes. I think this is the only real issue I've discovered so far.
Thank you for an amazing theme Jeffrey, really appreciate it.
Beta Was this translation helpful? Give feedback.
All reactions