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

Add support for @plugin and @config in v4 #316

Merged
merged 5 commits into from
Sep 10, 2024

Conversation

thecrypticace
Copy link
Contributor

Just realized we forgot to add a loadConfig stub when we released v4.0.0-alpha.21. We also need to actually fill in the implementations of loadPlugin and loadConfig so this PR does that.

We still need to add typescript support which I think means either:

  • relying on @tailwindcss/node in the prettier plugin; OR
  • loading it if it is installed

I'm not actually sure which option we should go with so I've not added typescript support yet.

@RobinMalfait
Copy link
Member

I think relying on @tailwindcss/node might be a good idea but not sure how easy that will be because we need to make sure that it maps to the correct tailwindcss version 🤔

I think this PR is a good improvement on its own already, so let's just get this merged and released and add TypeScript support later.

@thecrypticace thecrypticace merged commit 15e8009 into main Sep 10, 2024
1 check passed
@thecrypticace thecrypticace deleted the feat/v4-plugin-and-config-support branch September 10, 2024 12:13
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.

2 participants