Minor Changes
- 0dd45b6: Fix issue where config changes could not be detected due to config bundling returning stale result
sometimes.
Patch Changes
-
74485ef: Add
utils
functions in theconfig:resolved
hook, making it easy to apply transformations after all
presets have been merged.For example, this could be used if you want to use most of a preset but want to completely omit a few things, while
keeping the rest. Let's say we want to remove thestack
pattern from the built-in@pandacss/preset-base
:import { defineConfig } from '@pandacss/dev' export default defineConfig({ // ... hooks: { 'config:resolved': ({ config, utils }) => { return utils.omit(config, ['patterns.stack']) }, }, })
-
ab32d1d: Fix issue where errors were thrown when semantic tokens are overriden in tokens.
-
d5977c2: - Add a
--logfile
flag to thepanda
,panda codegen
,panda cssgen
andpanda debug
commands.- Add a
logfile
option to the postcss plugin
Logs will be streamed to the file specified by the
--logfile
flag or thelogfile
option. This is useful for
debugging issues that occur during the build process.panda --logfile ./logs/panda.log
module.exports = { plugins: { '@pandacss/dev/postcss': { logfile: './logs/panda.log', }, }, }
- Add a
-
Updated dependencies [74485ef]
-
Updated dependencies [ab32d1d]
-
Updated dependencies [49c760c]
-
Updated dependencies [d5977c2]
- @pandacss/types@0.30.0
- @pandacss/shared@0.30.0
- @pandacss/logger@0.30.0
- @pandacss/preset-base@0.30.0
- @pandacss/preset-panda@0.30.0