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 tailwind config files in ESM/TS format + Update prettier #794

Merged
merged 2 commits into from Apr 11, 2023

Conversation

albohlabs
Copy link
Contributor

This is my naive implementation of tailwind config ESM/TS support.

I dropped import-fresh package because it has an outstanding issue for adding support for ES Modules. The config is loaded via loadConfig which is provided by tailwind.
The prettier update was introduced because of the satisfies operator, which is supported since Prettier v2.8. See prettier/prettier#13516

@ben-rogerson pls jump in and help me out to finalize the PR.

As a reaction of #792 (comment)

@ben-rogerson ben-rogerson merged commit 80e45fa into ben-rogerson:master Apr 11, 2023
@ben-rogerson
Copy link
Owner

Great work, just had to add an auto loader for .ts files and adjust the tests slightly - thanks heaps for your work here

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

2 participants