title: how to change the dist-folder path without overwriting existing files in output folder
body: <p>I'm using JAVA and app engine as backend and angular as frontend also I want to directly build my files using <code>ng build</code> and output them to my java project so I tried replacing <code>outputPath</code> in my <code>angular.json</code> file as so</p>
  
  <p>{</p>
  
  <pre><code>  ...
    "options": [
      {
        "outputPath": "../../myproject/java/src/main/webapp/",
        ...
      }
    ],
    ...
  }
  </code></pre>
  
  <p>all files are correctly placed in <code>webapp</code> folder but the only problem is that it overwrites the whole folder leading to loosing other project files/directories, so I have to manually place files into this directory which is what I want to avoid.</p>
  
  <p>I also tried changing the <code>base-href</code>and try to load my files from a <code>/dist</code> folder.But changing <code>base-href</code> leads to incorrect url routing.</p>
  
  <p>any solution to avoid overwriting files.</p>