themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.84k stars 411 forks source link

(docs) introduction: fix tailwind config step #1142

Closed SutuSebastian closed 9 months ago

SutuSebastian commented 9 months ago

Performance optimisation can be applied to tailwind config content path towards react-flowbite, less files to analize = faster compile times.

Today we have an issue of big compile time due to website packages not being separated by the lib packages. This PR solves that.

Changes

Performance optimisation results

Before (86s)

Screenshot 2023-11-21 at 16 41 22

After (859ms)

Screenshot 2023-11-21 at 16 42 08
vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
flowbite-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 21, 2023 3:05pm
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7461173) 99.54% compared to head (588ad3b) 93.60%. Report is 154 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1142 +/- ## ========================================== - Coverage 99.54% 93.60% -5.95% ========================================== Files 163 213 +50 Lines 6621 9048 +2427 Branches 401 483 +82 ========================================== + Hits 6591 8469 +1878 - Misses 30 579 +549 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.