summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-02-05 22:01:48 +1100
committerGitHub <noreply@github.com>2021-02-05 22:01:48 +1100
commit5b9376908af91ca723245b78d3146c1f17107ac4 (patch)
treeb7181f35016237010ab3bd63258dbf703ed2eeee /cli/module_graph.rs
parent923214c53725651792f6d55c5401bf6b475622ea (diff)
fix(cli/lsp): fix using jsx/tsx when not emitting via tsc (#9407)
Closes #9308 Closes #9023 Closes #8993
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r--cli/module_graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs
index e7222289c..5d1e514d0 100644
--- a/cli/module_graph.rs
+++ b/cli/module_graph.rs
@@ -799,6 +799,7 @@ impl Graph {
// Enabled by default to align to transpile/swc defaults
"experimentalDecorators": true,
"incremental": true,
+ "jsx": "react",
"isolatedModules": true,
"lib": options.lib,
"module": "esnext",
@@ -811,7 +812,6 @@ impl Graph {
// TODO(@kitsonk) consider enabling this by default
// see: https://github.com/denoland/deno/issues/7732
"emitDecoratorMetadata": false,
- "jsx": "react",
"inlineSourceMap": true,
"outDir": "deno://",
"removeComments": true,