-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: "PostCSS configuration was not passed or is invalid" with svelte renderer #2273
Comments
I could reproduce it on the starter, but it seems that after caching for the first time the error will not show. |
Ditto but different config. I copied the svelte example diffs into minimal example What version of astro are you using? What package manager are you using? What operating system are you using? |
Verified in 0.22.17 |
WorkaroundIn Astro 0.22.17, adding module.exports = {
plugins: []
}; got rid of the warning for me. (+ I used the opportunity to learn about PostCSS and ended up adding the Link to Minimal Reproducible Examplehttps://codesandbox.io/s/sharp-breeze-j782n?file=/postcss.config.js |
This fixes a bug filed in withastro/astro#2273
This fixes a bug filed in withastro/astro#2273
Sorry this took so long! Should be fixed by #2715 |
Sorry y'all. Had to revert #2715 due to this change breaking some things in the new static build mode in astro 0.24. I'm hoping to (re)fix this ASAP. |
Probably doesn't help, but I'm experiencing the same issue today using: 0.24.0 / npm 7.20.3 / MacOS |
Sorry about this one, yall!
|
What version of
astro
are you using?0.22.1
What package manager are you using?
yarn
What operating system are you using?
Linux
Describe the Bug
When rendering a page with a svelte component, the following error will show (even if I am not using postcss) :
This will not fail the build and the component seems to function as normal, but still floods the console.
Link to Minimal Reproducible Example
Astro.new svelte starter example (https://codesandbox.io/s/github/snowpackjs/astro/tree/latest/examples/framework-svelte)
The text was updated successfully, but these errors were encountered: