Tailwind "Just in time mode" question #44
-
|
I may be on thin ice here, but there are many variants that are disabled in the fabric-config (ex: https://github.com/fabric-ds/css/blob/main/packages/tailwind-config/tailwind.config.js#L257). Is this required for now with the new Just-in-Time Mode for Tailwind? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
We don't use TW just in time stuff. We optimise for Eik by producing a single file for all of Finn. This means that users will always get the same file across the many micro frontend apps at Finn which is optimal because browsers will cache this file and users will only need to download it once. Does mean there are some tradeoffs in that we can't include all of TW as this would result in too large of a file size |
Beta Was this translation helpful? Give feedback.
We don't use TW just in time stuff. We optimise for Eik by producing a single file for all of Finn. This means that users will always get the same file across the many micro frontend apps at Finn which is optimal because browsers will cache this file and users will only need to download it once.
Does mean there are some tradeoffs in that we can't include all of TW as this would result in too large of a file size