The latest release of meteor-react-hotloader (v0.0.11-rc.2 released 2016-03-18) allows the use of a custom
.babelrc in your project root to extend Babel with additional presets and plugins, like jsx-control-statements. It’s essentially an early look at what we’ll get officially in post-1.3.
See the README for installation instructions. If you don’t want the react hotloading, you can simply remove the
babel-plugin-react-transform section from your
Note, if you already have a
.babelrc in your project root, currently Meteor is ignoring it. So when it suddenly works, it could break your project. e.g. there’s a plugin in manta-sample-blog-app that’s used for testing outside of Meteor but breaks the real Meteor build (tracking here).
I’m interested in some early feedback and to see what people do with this.