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

chore(module): call hook before resolving config #655

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Conversation

benjamincanac
Copy link
Member

No description provided.

@what-the-diff
Copy link

what-the-diff bot commented Apr 13, 2023

PR Summary

  • Tailwind CSS config hook improvement
    The tailwindcss:config hook now runs before the config file is saved to disk, which simplifies the process for other modules to extend the TailwindCSS configuration.

  • Easier integration with other modules
    This change makes it easier for other modules (e.g., @nuxtjs/color-mode) to work with TailwindCSS without needing custom webpack loaders or plugins.

@ineshbose
Copy link
Collaborator

How about further providing more hooks that give the config for each layer/config-path that the module reads along with another hook for the resolved config? 😄

Copy link
Collaborator

Atinux commented Apr 16, 2023

Why not :)

@ineshbose ineshbose deleted the benjamincanac-patch-1 branch May 10, 2023 22:01
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.

None yet

3 participants