4 ms·
I am assuming this means they will tag v7 soon so I can easily use it with nvm? Also, does anyone know if there is a way to get babel to output code targeting
by ilaksh 10y ago
I am assuming this means they will tag v7 soon so I can easily use it with nvm?
Also, does anyone know if there is a way to get babel to output code targeting Node v7? Like, just stuff in the 'latest' preset that isn't out-of-the-box (with or without the flag).
- pitaj 10y agoThere have been presets for Node 4, Node 5, etc so I imagine there will be one for v7 once it's released.
- abritinthebay 10y agoYou want the babel-preset-latest-minimal package. Does exactly that - feature based Babel transforms
- tychuz 10y agoWhy 6.9 release implies 7.0? I think it implies 6.10 more.
- hzoo 10y agoYou can use node specific preset like other's have mentioned but working on https://github.com/babel/babel-preset-env https://github.com/babel/babel-preset-env for all future versions as well