top | item 16023835

(no title)

hzoo | 8 years ago

Hmm, sorry it feels that way! I don't use react-native and don't think anyone on the team was informed of that issue - but is it really an issue from Babel itself?

I guess in that case I would suggest not transforming files like ".json" which if it's a wrapper around Babel could do for you automatically? It's not intended to transform JSON since it would just have the same output, not sure how it's related to compiling JS specifically.

discuss

order

Jeaye|8 years ago

This is strictly for transforming JS. It has existed for over a year, here https://github.com/facebook/react-native/issues/8475 as well.

It's certainly possible that the babel team was never aware of it, but I'd imagine this has to do with the seemingly exponential growth of transformation time per source KB.