Skip to content

@pandacss/config@2.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Jun 15:02
· 33 commits to main since this release
5f57b3e

Patch Changes

  • 349e7ef: Fix config loading failing with The argument 'filename' must be a file URL … Received 'data:…' when the
    config imports a CommonJS preset that uses require() (e.g. pandacss-preset-typography).

    The bundled config is now evaluated from a temporary file (imported via a file:// URL) instead of a data: URL, so
    rolldown's createRequire(import.meta.url) interop resolves against a real path. Falls back to a data: URL when the
    temp file can't be written. This also loads faster for larger configs.

  • 07eafef: Fix the preset:resolved hook missing its utils argument. Plugin authors can now use omit / pick /
    traverse inside preset:resolved (matching config:resolved and v1).

  • Updated dependencies [07eafef]

    • @pandacss/types@2.0.0-beta.1
    • @pandacss/compiler-shared@2.0.0-beta.1