title: How to override webpack config in sagui
body: <p>I'm new with JavaScript frameworks and webpack.</p>
  
  <p><strong>CONTEXT</strong></p>
  
  <p>I'm developing a project with react and sagui. And I want to configure the deploy phase. Sagui's "dist" command creates 3 files (index.html, index-hash.js and index-hash.js.map) using webpack. That is my <strong>sagui.config.js:</strong></p>
  
  <pre><code>var webpack = require('webpack')
  
  module.exports = {
    pages: ['index'],
    javaScript: {
      transpileDependencies: [
        [...]
      ]
    },
    webpack: {
      plugins: [new webpack.DefinePlugin({
        __API__: process.env.NODE_ENV === 'production' ? '"http://XXXXXX.production"' : '"http://localhost/"'
      })],
      babel: {
        babelrc: false,
        presets: ['sagui']
      }
    }
  }
  </code></pre>
  
  <p><strong>PROBLEM</strong></p>
  
  <p>With this configuration are beeing created the 3 files at the same level in the folder dist:</p>
  
  <pre><code>- src 
    - dist
      -- index.html
      -- index-hash.js
      -- index-hash.js.map
  </code></pre>
  
  <p>But I need to have it like that</p>
  
  <pre><code>- src 
    - dist
      -- index.html
      - assets
        -- index-hash.js
        -- index-hash.js.map
  </code></pre>
  
  <p>For this, I'm trying to override the webpack configuration (I don't know if that is the right way), but I don't manage to do it.</p>