title: Is there a way to include a versioned file for download at build time in an Angular app?
body: <p>I am working on an application written in Angular 11, that allows users to download a script.
  I would like it so that the link to download the script is as follows:</p>
  <pre><code>&lt;a href=&quot;example.com/resources/script_&lt;version&gt;.ps1&quot;&gt;
  </code></pre>
  <p>I would like to be able to include the version of the script in the package.json file like this:</p>
  <p>{
  &quot;name&quot;: &quot;my-app&quot;,
  &quot;version&quot;: &quot;0.0.0&quot;,
  &quot;script-version&quot; : &quot;1.0.0&quot;,
  ....
  }</p>
  <p>Is there some tool I can use that will at build time update the name of the script, and the  the corresponding code in my application so that users get files downloaded with the correct version in the filename?</p>