I'm building a project using WebStorm 2016.2.2. I use version 6.6.0 of Node.js. I have set the JavaScript version to ES6, but I get "unexpected token" errors for both import and export keywords. I don't get errors for Lambda expressions BTW.
Why do I get this error? Am I doing something wrong or Node just does not support import and export without Babel (even though I have set the JavaScript version to ES6)?