Great post, thanks for advice. It would be really nice if there was an easy way to add ES6 imports/exports to the flow.
There is, but why would you need an ES6 modules in Node.js? It doesn't support it natively anyway. Or do you want to use ES6 modules and just be able to test them like I described in an article?
I know that they're not supported yet, but I hope we'll get it soon. I am a front-end dev, and so in general I have to spend a lot of time tuning webpack/babel before I start a project. And as you probably know, ES6 modules are commonly used in front-end nowadays.
Testing would also be nice.
I got you covered! ;)
And then you can use ES6 modules in your tests as well as in your code :)
Thanks a lot, Kamil,
you're a real MVP :)
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.