diff --git a/packages/astro/src/core/config.ts b/packages/astro/src/core/config.ts index a675252f1..0f79df501 100644 --- a/packages/astro/src/core/config.ts +++ b/packages/astro/src/core/config.ts @@ -140,7 +140,7 @@ export async function validateConfig(userConfig: any, root: string): Promise r.replace('@astrojs/renderer-', '')); - const rendererImports = rendererKeywords.map((r: string) => ` import ${r} from '@astrojs/${r}';`).join('\n'); + const rendererImports = rendererKeywords.map((r: string) => ` import ${r} from '@astrojs/${r === "solid" ? "solid-js" : r}';`).join("\n"); const rendererIntegrations = rendererKeywords.map((r: string) => ` ${r}(),`).join('\n'); console.error(''); console.error(colors.dim(' // astro.config.js'));