mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
26 lines
421 B
Plaintext
26 lines
421 B
Plaintext
|
{
|
||
|
"test": [".*.tsx$",".*.ts$", ".*.js$"],
|
||
|
"module": {
|
||
|
"type": "commonjs"
|
||
|
},
|
||
|
|
||
|
"jsc": {
|
||
|
"parser": {
|
||
|
"syntax": "typescript",
|
||
|
"tsx": true,
|
||
|
"decorators": true,
|
||
|
"dynamicImport": true
|
||
|
},
|
||
|
"target": "es2016",
|
||
|
"loose": true,
|
||
|
"transform": {
|
||
|
"optimizer": {
|
||
|
"globals": {
|
||
|
"vars": {
|
||
|
"__DEBUG__": "true"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|