Patch Changes
-
a2f6c2c: Fix potential cross-platform issues with path resolving by using
pathe
instead ofpath
-
11753fe: Improve initial css extraction time by at least 5x 🚀
Initial extraction time can get slow when using static CSS with lots of recipes or parsing a lot of files.
Scenarios
- Park UI went from 3500ms to 580ms (6x faster)
- Panda Website went from 2900ms to 208ms (14x faster)
Potential Breaking Change
If you use
hooks
in yourpanda.config
file to listen for when css is extracted, we no longer return thecss
string for performance reasons. We might reconsider this in the future. -
Updated dependencies [526c6e3]
-
Updated dependencies [8db47ec]
-
Updated dependencies [9c0d3f8]
-
Updated dependencies [11753fe]
-
Updated dependencies [c95c40b]
-
Updated dependencies [e83afef]
- @pandacss/types@0.22.0
- @pandacss/generator@0.22.0
- @pandacss/shared@0.22.0
- @pandacss/core@0.22.0
- @pandacss/config@0.22.0
- @pandacss/parser@0.22.0
- @pandacss/token-dictionary@0.22.0
- @pandacss/error@0.22.0
- @pandacss/extractor@0.22.0
- @pandacss/is-valid-prop@0.22.0
- @pandacss/logger@0.22.0