title: Can ES6 be used natively in webpack.config.js?
body: <p>This answer:
  <a href="https://stackoverflow.com/questions/31903692/how-can-i-use-es6-in-webpack-config-js">How can I use ES6 in webpack.config.js?</a><br>
  seems to imply a transpilation step.</p>
  
  <p>Can ES6 be used natively? How?</p>
  
  <p>For example I tried to convert the simple example <a href="https://webpack.js.org/guides/getting-started/#using-a-configuration" rel="nofollow noreferrer">here</a> from <code>require</code> to <code>import</code> and receive the following error</p>
  
  <pre><code>(function (exports, require, module, __filename, __dirname) { import path from 'path'
                                                                       ^^^^
  SyntaxError: Unexpected identifier
  </code></pre>