aboutsummaryrefslogtreecommitdiff
path: root/vnext/.swcrc
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/.swcrc')
-rw-r--r--vnext/.swcrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/vnext/.swcrc b/vnext/.swcrc
new file mode 100644
index 00000000..107f4aec
--- /dev/null
+++ b/vnext/.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