4 ms·
Babel 6+ is configuration hell, you can do whatever you want provided you have the patience/knowledge to plug together the right plugins. So take the Node 6.0
by Touche 11y ago
Babel 6+ is configuration hell, you can do whatever you want provided you have the patience/knowledge to plug together the right plugins.
So take the Node 6.0 compatibility table, find out what features it supports and create a "Babel preset" that has those excluded.
- jsprogrammer 11y agoIt looks like the primary thing missing is 'iterator closing'. http://node.green/ http://node.green/
- untog 11y ago...or just use a preset someone else made: https://github.com/jhen0409/babel-preset-es2015-node6 https://github.com/jhen0409/babel-preset-es2015-node6