title: Angular: <link rel="preload"> in index.html for generated web worker
body: <p>I have a Angular app containing a <strong>web worker</strong> implementation (generated via <code>ng generate webWorker</code>).</p>
  
  <p>I want to mark the given <strong>web-worker for preloading</strong>, like this:</p>
  
  <p><em>index.html</em></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
     ...
      &lt;link rel="prefetch" href="worker.js" /&gt;
     ...
    &lt;/head&gt;
   ....
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem is that the name of the <code>worker.js</code> file is generated via Angular CLI, e.g. <code>0.7841408a8c7c04e45900.worker.js</code> (bundled from <code>worker.ts</code>)</p>
  
  <p>Is there a way to put a placeholder of the filename into the index.html, which is replaced by the actual filename at build time?</p>