aboutsummaryrefslogtreecommitdiff
path: root/.swcrc
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-03-05 16:32:12 +0300
committerGravatar Vitaly Takmazov2023-03-05 16:32:12 +0300
commit79d769f3d29d1827d7744db3a26f02bc0d95d792 (patch)
tree645eef66702817b3b92cd3ce555ecb7c44717e59 /.swcrc
parent88efdf2cde176a1f42be5183d42c34b7ad91b266 (diff)
Merge vnext build configuration
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