summaryrefslogtreecommitdiff
path: root/frontend/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/tsconfig.json')
-rw-r--r--frontend/tsconfig.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json
index 2901f27f..13b0c350 100644
--- a/frontend/tsconfig.json
+++ b/frontend/tsconfig.json
@@ -3,7 +3,8 @@
"outDir": "dist",
"module": "ESNext",
"target": "ES2020",
- "jsx": "react-jsx",
+ "jsx": "react",
+ "jsxFactory": "window.SP_REACT.createElement",
"declaration": false,
"moduleResolution": "node",
"noUnusedLocals": true,