grunt-filerev
grunt-filerev copied to clipboard
[DEPRECATED] File revving
##### What is it good for? This feature offers a slightly different functionality for the plugin which is optional and does not affect the core functionality. Instead of renaming files...
I have a line of code `return IMG_CONTEXT + '/icon_' + name + '.svg';` I tried to create a map to store names and their urls but it looks so...
JSON file to add additional files to `grunt.filerev.summary`. Useful for hash generated fils from other tools (for example WebPack)
This feature offers two possibility: - storing the filerev summary to a file - stripping the src/dest paths of the filerev summary Therefore two option parameters are supported: - summaryFilePath...
Sometimes it can be useful to get the original path to the revved file in order to return the new name. i.e. if want to keep the file at the...
## Before ``` Running "filerev:compile" (filerev) task Revved 1 file Running "filerev:withConfig" (filerev) task Revved 1 file Running "filerev:withDest" (filerev) task Revved 1 file Running "filerev:withExpand" (filerev) task Revved 1...
In some cases we don't want copy file if it exists (to save file mtime)
My grunt tasks are sequenced such that grunt uglify runs first and copies the uglified files in a newly created directory and then filerev task runs on this new directory....
Hi ! Can someone help me ? my task: ``` options: { algorithm: 'md5', length: 8 }, js: { src: ['/**/*.js'], dest: 'tmp' } ``` result: ``` Running "filerev:js" (filerev)...
This PR is nearly identical to #31. In this PR it comes as a single commit, and I also changed some whitespace formatting in the test.