Fix: JSX renderer "Hello world!" error (#822)

* fix: remove hello-world error

* chore: add changeset
This commit is contained in:
Nate Moore 2021-07-22 12:39:54 -05:00 committed by GitHub
parent b0c0b95a4e
commit af935c1b8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix error when no renderers are passed

View file

@ -83,9 +83,7 @@ Unable to resolve a renderer that handles JSX transforms! Please include a \`ren
return { return {
'.js': { '.js': {
code: `(() => { code: '',
throw new Error("Hello world!");
})()`,
}, },
}; };
} }