* 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
4 lines
97 B
JSON
4 lines
97 B
JSON
{
|
|
"plugins": ["transform-block-scoping", ["proposal-object-rest-spread", { "loose": true }]]
|
|
}
|