swc/tests/projects/issue-605/.swcrc
kdy1 0ebda3c33e hygiene / block scoping improvement (#608)
`hygiene` pass had a bug related to globally defined variables like `Object` or `undefined`. This pr make hygiene to utilize use-bind conflict to resolve global objects correctly.
Closes #605.

block_scoping pass had a bug with closure in for statement with let or const. This pr fixes it by extracting a loop body as a variable.
Closes #604.
2020-01-24 05:54:52 +00:00

16 lines
280 B
Plaintext

{
"jsc": {
"target": "es2015",
"parser": {
"syntax": "ecmascript",
"jsx": true,
"dynamicImport": true,
"classProperty": true,
"exportNamespaceFrom": true,
"exportDefaultFrom": true
}
},
"module": {
"type": "commonjs"
}
}