From 79282163e229bfe332b1221be3099f751b05807b Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Tue, 15 Mar 2022 19:32:39 -0400 Subject: [PATCH] fix: Svelte PostCSS config error (#2807) * fix: Svelte PostCSS config error * chore: changeset --- .changeset/large-snakes-lay.md | 5 +++++ packages/renderers/renderer-svelte/index.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/large-snakes-lay.md diff --git a/.changeset/large-snakes-lay.md b/.changeset/large-snakes-lay.md new file mode 100644 index 000000000..95e296e00 --- /dev/null +++ b/.changeset/large-snakes-lay.md @@ -0,0 +1,5 @@ +--- +'@astrojs/renderer-svelte': patch +--- + +Remove "PostCSS configuration was not passed or is invalid" error when using the Svelte renderer diff --git a/packages/renderers/renderer-svelte/index.js b/packages/renderers/renderer-svelte/index.js index a4dfd23a9..0b849ba9d 100644 --- a/packages/renderers/renderer-svelte/index.js +++ b/packages/renderers/renderer-svelte/index.js @@ -20,7 +20,6 @@ export default { less: true, sass: { renderSync: true }, scss: { renderSync: true }, - postcss: true, stylus: true, typescript: true, }),