How do I determine the version number of a minified JS file? I'm using Visual Studio 2022 and the Bundler & Minifier VS Extension. I'm referencing the file in my view by version number, so I'd like a way to determine the current version number of the min.js file.
The file is being consumed in the project using a version number like so:
<script src="~/Scripts/thing/ourthing.min.js?v=1.8"></script>
I don't see anything in the minified text to indicate what it might be. I tried just incrementing it to the next version number, but it didn't include my change.
Copilot suggested the following grep command on the minified file, but it didn't find anything: grep -o 'v[0-9]+.[0-9]+.[0-9]+' file.min.js
You all were correct. There isn't a generated "version number" for my change. We just increment the version number so that the browser will request a new copy. It's working now after clearing my browser cache.