Closed tz5514 closed 7 years ago
There's a bug that we can't defined some "false value", like false, 0, ''(empty string), undefined, null just like following code It will be ignored in babel compiling.
{ "plugins": [ ["transform-define", { "EMPTY_STRING": "", "FALSE_BOOLEAN": false, "ZERO_NUMBER": 0, "NULL": null }] ] }
Looks like this is fixed on master, but not released to npm?
This is fixed in 1.3! Hoooray!
thanks for fixing!
There's a bug that we can't defined some "false value", like false, 0, ''(empty string), undefined, null just like following code It will be ignored in babel compiling.