The greatest trick the devil ever pulled was convincing the world that the .js extension could have non-standard syntax
-
Show this thread
-
-
Replying to @flovilmart
Babel has literally no opinion on the file extension you use
1 reply 0 retweets 8 likes -
Replying to @sebmck
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.
1 reply 0 retweets 4 likes -
Replying to @flovilmart
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.
2 replies 0 retweets 9 likes -
Replying to @flovilmart
babel-loader has 4x the downloads of babel-cli, it's not the majority consumer
5:46 PM - 3 Jan 2019
1 reply
0 retweets
7 likes
-
-
Replying to @sebmck
Interesting, how the world shifted to webpack. Thanks :)
0 replies 0 retweets 3 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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 