3 ms·
I almost couldn't disagree with this article more regarding Babel. Babel can't get away from configuration because Babel has no idea what your target environmen
by spankalee 11y ago
I almost couldn't disagree with this article more regarding Babel. Babel can't get away from configuration because Babel has no idea what your target environment is.
Are you targeting Edge 13 or Chrome 49? Great you only need to compile out a few features. Are you targeting IE 8? Well, better compile everything. Unless Babel is to assume the whole world is uniformly stuck at ES5, it simply can't pick a good default.
- Havvy 11y agoLowest common denominator says to default to ES5, tell people that's the default, and then show them how to change it later if they want or need to.