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 usesrequire()(e.g.pandacss-preset-typography).The bundled config is now evaluated from a temporary file (imported via a
file://URL) instead of adata:URL, so
rolldown'screateRequire(import.meta.url)interop resolves against a real path. Falls back to adata:URL when the
temp file can't be written. This also loads faster for larger configs. -
07eafef: Fix the
preset:resolvedhook missing itsutilsargument. Plugin authors can now useomit/pick/
traverseinsidepreset:resolved(matchingconfig:resolvedand v1). -
Updated dependencies [07eafef]
- @pandacss/types@2.0.0-beta.1
- @pandacss/compiler-shared@2.0.0-beta.1