summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-08-30 17:03:16 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-30 17:03:16 +0200
commit7c67fa77b22bd877d9e96c825404ec02732b47fd (patch)
treec750f1e9253e7533e27233b7daed8d9074ac9c9d
parentf8c171c94494705c10dbc2fe5175982fa56eaecf (diff)
downloadastro-7c67fa77b22bd877d9e96c825404ec02732b47fd.tar.gz
astro-7c67fa77b22bd877d9e96c825404ec02732b47fd.tar.zst
astro-7c67fa77b22bd877d9e96c825404ec02732b47fd.zip
config: set proper default config on framework-react example (#8289)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
-rw-r--r--examples/framework-react/tsconfig.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json
index d78f81ec4..e726bd0b9 100644
--- a/examples/framework-react/tsconfig.json
+++ b/examples/framework-react/tsconfig.json
@@ -1,3 +1,7 @@
{
- "extends": "astro/tsconfigs/base"
+ "extends": "astro/tsconfigs/base",
+ "compilerOptions": {
+ "jsx": "react-jsx",
+ "jsxImportSource": "react"
+ }
}