aboutsummaryrefslogtreecommitdiff
path: root/.swcrc
diff options
context:
space:
mode:
Diffstat (limited to '.swcrc')
-rw-r--r--.swcrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/.swcrc b/.swcrc
new file mode 100644
index 00000000..107f4aec
--- /dev/null
+++ b/.swcrc
@@ -0,0 +1,18 @@
+{
+ // .swcrc should be treated as JSONC
+
+ "sourceMaps": true,
+
+ "jsc": {
+ "parser": {
+ "syntax": "ecmascript",
+ "jsx": true
+ },
+
+ "transform": {
+ "react": {
+ "runtime": "automatic"
+ }
+ }
+ }
+ } \ No newline at end of file