mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 15:12:08 +03:00
97269a37b9
swc: - Respect `react` config. swc_ecma_transforms_compat: - `export-namespace-from`: Preserve `use strict`. (#1423) swc_ecma_transforms_module: - Inject `use strict` before imports. (#1423) swc_ecma_transforms_proposal: - Emit metadata for literal types. (#1421)
18 lines
277 B
Plaintext
18 lines
277 B
Plaintext
{
|
|
"jsc": {
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": false,
|
|
"decorators": true,
|
|
"dynamicImport": false
|
|
},
|
|
"transform": {
|
|
"legacyDecorator": true,
|
|
"decoratorMetadata": true
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "commonjs"
|
|
}
|
|
}
|