tailwindcss@3.4.3 build time significantly exceeds previous versions for monorepo #13582
Unanswered
neilthawani
asked this question in
Help
Replies: 1 comment 2 replies
-
Hey! So this is likely due to the pattern you're using with I'd suggest optimizing the safelist to generate fewer utilities (or, if possible, not using it at all). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of Tailwind CSS are you using?
v3.4.3
What build tool (or framework if it abstracts the build tool) are you using?
We're using
ember-source@^4.11.0
with relatedember-cli-build
and related build tools for an 11-subrepo monorepo. Here's our base subrepopackage.json
:What version of Node.js are you using?
v20.0.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
I think this issue may be reproducible if I share a trimmed-down version of our monorepos. Please hold.
Describe your issue
We previously didn't update this package for this single subrepo because it was taking a very long time to reload the app on
localhost
. With this update from 3.0.24 to 3.4.3,Contrast this to commenting out
@tailwind base
,@tailwind components
, and@tailwind utilities
withtailwindcss@3.4.3
:And contrast to using
tailwind@~3.0.24
:I am unable to figure out why the build time just about doubles when updating this package version.
Our
tailwind.config.js
file looks like this:The contents of
content
sped up our build time by about 20 seconds.Beta Was this translation helpful? Give feedback.
All reactions