FormidableLabs / babel-plugin-transform-define

Compile time code replacement for babel similar to Webpack's DefinePlugin
MIT License
245 stars 31 forks source link

Allow falsey values in replacements again #32

Closed kemurphy closed 7 years ago

kemurphy commented 7 years ago

Any chance this could get merged?

jedwards1211 commented 7 years ago

Whoops, I didn't notice you had done this :) I just made a PR for it too. Mine includes tests for falsy values, so I guess they'll probably want to merge it instead

kemurphy commented 7 years ago

Closing in favor of #33; it's a nicer solution and has tests.