multiple themes are not getting bundled for production #2952
-
I can successfully load multiple themes dynamically as per documentation with https://panda-css.com/docs/guides/multiple-themes But after building static site with astro or vite, it doesn't work: by default I'm getting this:
But if I manually copy
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I posted an issue #2953 Meanwhile there's a workaround: manually rename all themes jsons from
|
Beta Was this translation helpful? Give feedback.
I posted an issue #2953
Meanwhile there's a workaround: manually rename all themes jsons from
styled-system/themes
to have a static beginning liketheme-SomeName.json
, and correctindex.mjs
: