Skip to content

TSDX with TailwindCSS PostCSS plugin -- inject and purge options #947

Answered by leo-petrucci
leo-petrucci asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like the problem was with: inject. I switched it to inject: true, and css is working.

Purging can be fixed by changing the build command to "build": "NODE_ENV=production tsdx build",.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@agilgur5
Comment options

Answer selected by leo-petrucci
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants