Using autoprefixer with postcss in webpack 2.x : <p>How to use <code>autoprefixer</code> with webpack 2.x. </p>

<p>Previously, it used to be something like this...</p>

<pre><code>...

module: {
  loaders: [
     {
       test: /\.scss$/,
        loader: 'style!css!sass!postcss'
     }
   ]
},
postcss: () =&gt; {
  return [autoprefixer]
},

...
</code></pre>

<p>But, it's not working anymore. </p>

<p>How to rewrite it to webpack@2.x.x?</p>
