This is an excerpt of my manifest
<Runtimes>
<Runtime resid="WebViewRuntime.Url">
<Override type="javascript" resid="JSRuntime.Url"/>
</Runtime>
</Runtimes>
...
<Resources>
<bt:Urls>
<bt:Url id="JSRuntime.Url" DefaultValue="https://localhost:3000/commands.2938923827453.js"/>
<bt:Url id="WebViewRuntime.Url" DefaultValue="https://localhost:3000/commands.html"/>
</bt:Urls>
</Resources>
In JSRuntime.URl, I used webpack to transpile and output a generated JS file with a hash appended at the end of the file of each build.
However, there is an issue whereby the hash will change after each build and I don't want to keep changing the manifest file. It is crucial to have this dynamic hashing to prevent browsers from caching it.
Is there any suggestion to allow the add-in to point to the correct file with a dynamic name?