tailwind-preset.ts with @headleussui/tailwindcss #3036
Unanswered
bart-sofomo
asked this question in
Help
Replies: 1 comment
-
I am running into the same issues. The library as built is not currently compatible with esm modules (node 20.11.1), but it is very close. I have been able to get a working build by patching the
To patch the package, you can either use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using
tailwind-preset.ts
like this:and when I'm trying to build storybook or build my library with vite I'm getting:
Anyone knows how to fix this? I have to use typescript for various reasons.
If I remove
HeadlessUiTailwind({})
everything works as expected.Beta Was this translation helpful? Give feedback.
All reactions