mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
36 lines
708 B
Plaintext
36 lines
708 B
Plaintext
{
|
|
"$schema": "https://swc.rs/schema.json",
|
|
"jsc": {
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": true,
|
|
"decorators": true
|
|
},
|
|
"transform": {
|
|
"legacyDecorator": true,
|
|
"useDefineForClassFields": false,
|
|
"react": {
|
|
"runtime": "automatic"
|
|
},
|
|
"optimizer": {
|
|
"globals": {
|
|
"envs": ["SOURCE_COMMIT", "SOURCE_VERSION"]
|
|
}
|
|
}
|
|
},
|
|
"target": "es2020",
|
|
"keepClassNames": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@server/*": ["server/*"],
|
|
"@shared/*": ["shared/*"],
|
|
"~/*": ["app/*"],
|
|
"plugins/*": ["plugins/*"]
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "commonjs"
|
|
},
|
|
"sourceMaps": false
|
|
}
|