Better HN
top
new
best
ask
show
jobs
Log in
Sign up
kevrom
11 karma · joined Dec 3, 2014 (11y ago) · 3 submissions
Submissions
comment 11y ago ·
link
·
parent
That's not necessarily true with Babel 6. The new modular approach requires that you explicitly list which plugins you want Babel to use. So for JSX, you'd need to have `babel-plugin-syntax-jsx` as a dependency.
comment 11y ago ·
link
·
parent
Doing the latter would require you to use something like babel-node, whereas the former is all available without any such wrapper/compiling.
comment 11y ago ·
link
·
parent
Mine always happen while in the shower. Me and that interviewer are going to come out of it a lot closer.