View parent Full Discussion (Setting up a Minimal, Yet Useful JavaScript Dev Environment)

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! ;)

gist.github.com/kamilogorek/0a2d7f...

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 :)

code of conduct - report abuse