mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 10:37:56 +03:00
98cc79a2be
swc_ecma_codegen: - Fix sourcemap of `export` tokens. - Fix codegen of numeric operands in left of a binary expression. - Fix codegen of unary operations. swc_ecma_minifier: - Visit `AssignPatProp.valie`. - Move `inline_prevented` to analyzer. - Add `Ctx.dont_invoke_iife`. - `iife`: Check for `arugments` swc: - `inline_sources_content`: true by default for `minify()`.
29 lines
682 B
Plaintext
29 lines
682 B
Plaintext
{
|
|
"jsc": {
|
|
"target": "es5",
|
|
"parser": {
|
|
"syntax": "typescript",
|
|
"tsx": true
|
|
},
|
|
"transform": {
|
|
"react": {
|
|
"runtime": "automatic",
|
|
"pragma": "React.createElement",
|
|
"pragmaFrag": "React.Fragment",
|
|
"throwIfNamespace": true,
|
|
"useBuiltins": true
|
|
}
|
|
},
|
|
"minify": {
|
|
"compress": {
|
|
"toplevel": true
|
|
},
|
|
"mangle": {
|
|
"toplevel": true
|
|
},
|
|
"toplevel": true
|
|
},
|
|
"externalHelpers": true
|
|
},
|
|
"minify": true
|
|
} |