title: Minification of vue project
body: <ul>
  <li>I'm using vue: 2.6.10</li>
  <li>Project was generated using vue cli 3 <a href="https://cli.vuejs.org/guide/" rel="nofollow noreferrer">https://cli.vuejs.org/guide/</a></li>
  <li>this vue cli contains some how webpack 4</li>
  </ul>
  
  <p>I want to archive minification (removing all whitespaces, newlines, etc.) of sources of my project.
  So instead 20mb i want to have ~4mb</p>
  
  <p>My sources:</p>
  
  <pre><code>//file name package.json
  {
    "name": "abc",
    "version": "1.0.0",
    "scripts": {
      "serve": "vue-cli-service serve",
      "build": "vue-cli-service build"
    },
  ...
  }
  </code></pre>
  
  <p>My project contain:</p>
  
  <ul>
  <li>many *.vue files containing components which I have build.</li>
  <li>some *.js files</li>
  </ul>
  
  <p>When I'm typing in my console:</p>
  
  <pre><code>npm run build
  </code></pre>
  
  <p>It runs script from above -> "build": "vue-cli-service build"</p>
  
  <p>Everything runs and I end up with result:</p>
  
  <p><a href="https://i.stack.imgur.com/pAdlJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pAdlJ.png" alt="enter image description here"></a></p>
  
  <p>What I've got:</p>
  
  <p><a href="https://i.stack.imgur.com/KOsOx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KOsOx.png" alt="enter image description here"></a></p>
  
  <p>and app.js file is very heavy ~20mb, I don't know where is <strong>3.5mb</strong> build.min.js file, how to force npm via this vue cli to archive this?</p>
  
  <p>Maybe You know how decrease vue application from ~20mb to ~3.5mb? </p>