Open cooperka opened 7 years ago
Hmm, I think this is picking up on object keys that are __DEV__
.
it does do that, i've had to do { '__DEV__': true }
to trick it...
yeahhhhh what do you think are the odds that they'll accept a PR to fix this upstream? or should we make this an actual fork instead of a copy/paste?
I got a very similar issue to https://github.com/4Catalyzer/babel-plugin-dev-expression/issues/2 using React Native v0.43. After some testing, it turns out this plugin doesn't work at all with React Native :(
Working demo project: https://github.com/cooperka/DemoDevExpression
Full stack:
.babelrc
:Any idea what's going on or how to fix it?