title: How to migrate from laravel mix to pure Webpack?
body: <p>Given the <code>webpack.mix.js</code> of a fresh Laravel project :</p>
  
  <pre><code>const mix = require('laravel-mix');
  
  /*
   |--------------------------------------------------------------------------
   | Mix Asset Management
   |--------------------------------------------------------------------------
   |
   | Mix provides a clean, fluent API for defining some Webpack build steps
   | for your Laravel application. By default, we are compiling the Sass
   | file for the application as well as bundling up all the JS files.
   |
   */
  
  mix.js('resources/js/app.js', 'public/js')
      .sass('resources/sass/app.scss', 'public/css');
  </code></pre>
  
  <p>What is the equivalent using just webpack and a <code>webpack.config.js</code>? (Im looking to remove laravel mix as a dependency on an existing project.)</p>
  
  <p>I did find <a href="https://github.com/JeffreyWay/laravel-mix/blob/master/src/builder/webpack-default.js" rel="noreferrer">this</a> default file in the source but it did not help me. Is there a way I can see the "compiled/resulting" webpack configuration or a template/starting point that corresponds to laravel mix default settings?</p>