Babel has way too many errors.
I do not care if I am a grandpa for using 2014 tools - but I am not pushing ahead until things calm the fuck down.
I do not care if I am a grandpa for using 2014 tools - but I am not pushing ahead until things calm the fuck down.
I needed to plug this in the package.json of my private modules:
"browserify": {
"transform": [
"brfs",
[
"babelify",
{
"presets": ["es2015"]
}
]
]
}However, there are so many cases where Babel is useful, or turns out to be 'necessary', that I'm considering just using Babel by default again.
Some examples:
- JSX for using React in the back-end (almost a default for me nowadays)
- async/await for async-heavy code
- a miscellaneous few still-unsupported ES2015 features that occasionally are sorely missed
And finally, it's happing more and more regularly that I end up wanting to use some server-side modules on the client-side, in which case I need to set up Babel anyways.That said, if I'm pretty sure I'm not going to need Babel, I still try to leave it out. It adds complexity that I'd rather avoid.