aboutsummaryrefslogtreecommitdiff
path: root/.swcrc
blob: 107f4aec30fd210f61f551b46b0595fd36488743 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    // .swcrc should be treated as JSONC
  
    "sourceMaps": true,
  
    "jsc": {
      "parser": {
        "syntax": "ecmascript",
        "jsx": true
      },
  
      "transform": {
        "react": {
          "runtime": "automatic"
        }
      }
    }
  }