hapi-react
hapi-react copied to clipboard
Use babel-preset-latest in default babel options
Wouldn't it make more sense to support es2015-17 by default, rather than only es2015?
{presets: ['react', 'latest']}
I'm not too familiar with the presets option. I've just been keeping parity with https://github.com/reactjs/express-react-views/blob/master/index.js. That said, if you think it's not too far a leap from express-react-views then please open a PR. Thanks!
babel-preset-env is recommended by the creator over es2015 or latest
https://babeljs.io/docs/setup/#installation