grunt-filerev task helps with asset revisioning by using file content hashing.
grunt-filerev
asset revisioning
The task ensures to revision any dependent map file along with source js, css files
Install the filerev plug-in through below syntax:
filerev
$ npm install --save-dev grunt-filerev