Scott Kyle 5a9509205b Fix constant elements hoisted out of block (#4419)
When block scoped variables caused the block to be wrapped in a closure, the variable `bindings` remained in parent function scope, which caused the JSX element to be hoisted out of the closure.
2016-12-03 19:54:53 -08:00

8 lines
119 B
JSON

{
"plugins": [
"syntax-jsx",
"transform-es2015-block-scoping",
"transform-react-constant-elements"
]
}