title: Is it possible to configure an Angular 6 build to output JS and CSS into separate subdirectories?
body: <p>I have an Angular 6 application.</p>
  
  <p>i am using the <code>--deploy-url</code> flag to specify a CDN for all assets, JS and CSS (including thankfully the paths to embedded images in my style sheets).</p>
  
  <p>This is excellent and would suffice except for the fact that my server admin requires that my JS and CSS live in their own respective subdirectories.</p>
  
  <p>So I simply want to configure an Angular 6 build to output those files as instructed.</p>
  
  <p>For example:</p>
  
  <pre><code>dist/index.html
  dist/js/runtime.js
  dist/js/*.chunk.js
  dist/css/styles.css
  </code></pre>
  
  <p>etc...</p>
  
  <p>seemingly so simple... yet, this not possible?!</p>
  
  <p>I have searched exhaustively for a solution to no avail.</p>
  
  <p>The only solution i could come up with would be to use a task manager to start modifying the compiled files.</p>
  
  <p>For example, modify <code>runtime.js</code> to inject the trailing <code>/js/</code> subdirectory  to my CDN url that was initially injected via the <code>--deploy-flag</code>, including other necessary modifications elsewhere.</p>
  
  <p>I would really like to avoid having to take this approach, but i am out of time, and i may not have a choice.</p>