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>
This commit is contained in:
parent
9d4bfc76e8
commit
883e0cc299
2 changed files with 7 additions and 2 deletions
5
.changeset/serious-turtles-explode.md
Normal file
5
.changeset/serious-turtles-explode.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
improve error message: change @astrojs/solid to @astrojs/solid-js
|
|
@ -31,12 +31,12 @@ function guessRenderers(componentUrl?: string): string[] {
|
|||
return ['@astrojs/vue'];
|
||||
case 'jsx':
|
||||
case 'tsx':
|
||||
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid', '@astrojs/vue (jsx)'];
|
||||
return ['@astrojs/react', '@astrojs/preact', '@astrojs/solid-js', '@astrojs/vue (jsx)'];
|
||||
default:
|
||||
return [
|
||||
'@astrojs/react',
|
||||
'@astrojs/preact',
|
||||
'@astrojs/solid',
|
||||
'@astrojs/solid-js',
|
||||
'@astrojs/vue',
|
||||
'@astrojs/svelte',
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue