Huáng Jùnliàng 563874c06c Do not remove let bindings even they are wrapped in closure (#10343)
* fix: should not remove let binding even it is wrapped in closure

Fixes #10339

* fix: remove bindings defined in blockScope when wrapped in closure

* Move test assertions to the top level to ensure that they run
2019-10-08 19:43:12 +02:00

4 lines
97 B
JSON

{
"plugins": ["transform-block-scoping", ["proposal-object-rest-spread", { "loose": true }]]
}