The greatest trick the devil ever pulled was convincing the world that the .js extension could have non-standard syntax
-
-
This is exactly why I blame it :) had it enforced nor using .js for non standard syntax, flow and JSX would have ‘needed’ to provide an alternate extension.
-
Babel is basically just a single function call called babel.transform that accepts some source text and some options. It's not in a position to have an opinion on file extension, that's the job of the tools that use it.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 