You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! Thank you for your bug report!
Much appreciated! 🙏
The minimal reproduction repo is a bit too minimal I'm afraid. Parcel is not using Tailwind CSS at this point. This is probably because your archive doesn't include the necessary dotfiles to link all the tools together.
Adding a .postcssrc file with:
{
"plugins": {
"tailwindcss": {}
}
}
Makes things work on my end.
That said, a lot of the tools don't have glob support directly, but rather scan a full folder. While it is true that the build will be triggered when the *.pdf.html change, those files will not be scanned by Tailwind and the use classes in there won't be included in your final css file.
So while the build is triggered again (out of our control) the output should be correct. If this is not the case for you, then I would ask to create a new issue with a minimal but complete reproduction that recreates the issue.
Activity
RobinMalfait commentedon Feb 9, 2023
Hey! Thank you for your bug report!
Much appreciated! 🙏
The minimal reproduction repo is a bit too minimal I'm afraid. Parcel is not using Tailwind CSS at this point. This is probably because your archive doesn't include the necessary dotfiles to link all the tools together.
Adding a
.postcssrcfile with:Makes things work on my end.
That said, a lot of the tools don't have glob support directly, but rather scan a full folder. While it is true that the build will be triggered when the
*.pdf.htmlchange, those files will not be scanned by Tailwind and the use classes in there won't be included in your final css file.Generated css:
But the
bg-blue-500is not included.So while the build is triggered again (out of our control) the output should be correct. If this is not the case for you, then I would ask to create a new issue with a minimal but complete reproduction that recreates the issue.
Hope this helps!