I'm currently using Visual Studio Web Essentials in order to bundle and minify my CSS and JavaScript files.
At present I'm manually creating the bundles with a version number (e.g. mybundle-1.0.0.css) in order to avoid caching issues when pushed out to production. I'm also having to manually change the bundle files version number each time a change is made to the source.
Is there any sort of automatic versioning functionality in Web Essentials bundling that I may have overlooked?
The ideal workflow would be:
- Developer updates a source file.
- Web essentials updates the bundle automatically.
- Web essentials increments the version number in the filename automatically.
Is this possible?
If not, I'd be happy to hear any suggestions for better developer workflows.