Closed gmencz closed 3 years ago
Tailwind CSS styles not being applied.
You'll have to be a lot more specific by what you mean by "not applied".
Your rollup-plugin-postcss
configuration has inject: false
and extract: true
, meaning it outputs a CSS file. The consumers of your library then have to import the CSS file to get those styles.
It's difficult to tell given the lack of detail here, but I assume you may want the opposite. In which case this would largely be a duplicate of https://github.com/formium/tsdx/discussions/947#discussioncomment-224566. If so, this isn't a bug and isn't TSDX specific nor Tailwind specific, and is just support with configuring rollup-plugin-postcss
.
Your environment
It seems like you may not have ran this in the correct directory as your TSDX version is not specified here (and potentially other issues)
Got it, inject: false
was the issue, setting it to true fixed it, thanks for the help.
Current Behavior
Tailwind CSS styles not being applied.
Additional context
I'm not sure this is a bug, I think I'm missing something in my config but I don't know what, here's my
tsdx.config.js
:Your environment