Skip to content

Commit 883e0cc

Browse files
JLarkynatemoo-rebluwy
authored
change @astrojs/solid to @astrojs/solid-js (#5971)
* change @astrojs/solid to @astrojs/solid-js @astrojs/solid package doesn't exist * Create serious-turtles-explode.md * Update .changeset/serious-turtles-explode.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
1 parent 9d4bfc7 commit 883e0cc

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
improve error message: change @astrojs/solid to @astrojs/solid-js

packages/astro/src/runtime/server/render/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ function guessRenderers(componentUrl?: string): string[] {
3131
return ['@astrojs/vue'];
3232
case 'jsx':
3333
case 'tsx':
34-
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid', '@astrojs/vue (jsx)'];
34+
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid-js', '@astrojs/vue (jsx)'];
3535
default:
3636
return [
3737
'@astrojs/react',
3838
'@astrojs/preact',
39-
'@astrojs/solid',
39+
'@astrojs/solid-js',
4040
'@astrojs/vue',
4141
'@astrojs/svelte',
4242
];

0 commit comments

Comments
 (0)