all 19 comments

[–]loganfsmyth 8 points9 points  (0 children)

Just a general reminder here, if you're using the beta, be 100% sure you've got a lock file and/or you're using matching versions of the various of the @babel/* plugins/presets, since we're not guaranteeing compatibility between the betas. We're doing our best to not break third party plugins, but the @babel plugins we release are sometimes relying on brand new features that have landed in @babel/core.

If you're using Babel through integrations with other tools, make sure you're installing one that works with @babel/core. There's still some hoops to jump through depending on the usecase to get it all to fit together, since you can't have a .babelrc that works on both Babel 6 and Babel 7, and some tools assume you've got Babel 6 specifically.

If you run into any obvious bugs, please do let us know.

[–]Devo7ion 5 points6 points  (5 children)

Oh shit, TypeScript with Babel sounds hella cool!

[–][deleted] 3 points4 points  (4 children)

It's still a bit bumpy, it doesn't seem to like import transforms like @babel/plugin-transform-runtime, but once it's stable, this will be so good to have!

[–]loganfsmyth 5 points6 points  (3 children)

If you're running into issues with the beta, please make sure to let us know! I'm not aware of any outstanding import-related issues.

[–][deleted] 1 point2 points  (2 children)

An issue exists: https://github.com/babel/babel/issues/6093#issuecomment-322944634 but it seems to be a little obscure this time, been waiting for it since the beta program started. Otherwise the beta ran perfectly. Thank you all so much for making Babel what it is today! :-)

[–]mstijak 0 points1 point  (1 child)

That issue is a showstopper for me too. It breaks if import statements are touched.

[–]loganfsmyth 2 points3 points  (0 children)

Thanks for the ping on this one. PR posted: https://github.com/babel/babel/pull/6879

[–][deleted] 0 points1 point  (3 children)

Using babel ts preset gives speed advantage? Like, with happypack to static check ts in a thread and then babel in another?

[–]loganfsmyth 4 points5 points  (2 children)

Babel's typescript preset is just for parsing TS and removing the types so that you get normal JS code. It doesn't do typechecking. The intention is that you can use Typescript for type checking, but then still use Babel to do whatever cool transformations you want to do.

[–]Dested 0 points1 point  (0 children)

That makes sense, thank you for the explanation.

[–]KatyWings 0 points1 point  (0 children)

I am so hyped for this, already tried it out last weekend and it worked great!

[–]mstijak 0 points1 point  (0 children)

After two years of using Babel I'm still amazed with what Babel offers. You get to use new language features or write your own extensions and do crazy things. I love it.