grunt-md5
Grunt plugin for generating MD5
filenames.
Getting Started
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-md5
Then add this line to your project's grunt.js
gruntfile:
grunt.loadNpmTasks('grunt-md5');
Then specify what files you want to generate an md5 filename in your config:
grunt.initConfig({
md5: {
compile: {
files: {
'dest/folder': 'src/file'
},
options: {
callback: function (newPath, oldPath) {
},
keepExtension: true
}
}
}
});
Release History
License
Copyright (c) 2012 Jean-Sébastien Ney
Licensed under the MIT license.