mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
44 lines
929 B
Plaintext
44 lines
929 B
Plaintext
|
{
|
||
|
"jsc": {
|
||
|
"parser": {
|
||
|
"syntax": "ecmascript",
|
||
|
"jsx": true,
|
||
|
"numericSeparator": false,
|
||
|
"classPrivateProperty": false,
|
||
|
"privateMethod": false,
|
||
|
"classProperty": true,
|
||
|
"functionBind": false,
|
||
|
"optionalChaining": true,
|
||
|
"dynamicImport": true,
|
||
|
"nullishCoalescing": true,
|
||
|
"decorators": true,
|
||
|
"decoratorsBeforeExport": true
|
||
|
},
|
||
|
"target": "es2015",
|
||
|
"loose": false,
|
||
|
"transform": {
|
||
|
"react": {
|
||
|
"pragma": "React.createElement",
|
||
|
"pragmaFrag": "React.Fragment",
|
||
|
"throwIfNamespace": true,
|
||
|
"development": false,
|
||
|
"useBuiltins": false
|
||
|
},
|
||
|
"optimizer": {
|
||
|
"globals": {
|
||
|
"vars": {
|
||
|
"__DEBUG__": "true"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"module": {
|
||
|
"type": "commonjs",
|
||
|
"strict": false,
|
||
|
"strictMode": true,
|
||
|
"lazy": false,
|
||
|
"noInterop": false
|
||
|
}
|
||
|
}
|