Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(postcss): regression with user-defined rules not reloaded and kil…
…l astro plugin (#1956) * fix(postcss): don't mess with initial css let’s kill the @pandacss/astro plugin, it is the indirectly the root cause of many headaches it forces us to track the initial CSS because of the base.css added on the fly we reverted back to only caching it once because in astro (therefore in park-ui) we ended up with duplicated styles but now for other postcss users (non-astro) we’re back to that issue of not tracking changes in the CSS that contains the @layer rules #1955 these changes work with vite, next and astro just fine, the only thing needed for astro users is to create a postcss file like this and import a css with the @layer rules (just like any other postcss users) * chore(logs): better display for CssSyntaxError in sheet * fix: ensure the outdir is always set after a config change, the code path will go through DiffEngine.refresh + loadConfig instead of loadConfigAndCreateContext so the config.outdir might be empty if not provided in the panda.config * BREAKING: remove @pandacss/astro in favor of just using @pandacss/postcss * chore: add changesets * chore: revert logs since a better one will land here #1957
- Loading branch information
1bd7fbb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-studio – ./
panda-app.vercel.app
panda-studio-chakra-ui.vercel.app
panda-studio-git-main-chakra-ui.vercel.app
1bd7fbb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-playground – ./playground
panda-playground.vercel.app
play.panda-css.com
panda-playground-chakra-ui.vercel.app
panda-playground-git-main-chakra-ui.vercel.app
1bd7fbb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-docs – ./website
panda-docs-git-main-chakra-ui.vercel.app
panda-docs-chakra-ui.vercel.app
panda-css.com
panda-docs.vercel.app