grunt-assets-versioning icon indicating copy to clipboard operation
grunt-assets-versioning copied to clipboard

version map merge option?

Open jk- opened this issue 10 years ago • 2 comments

Would be nice to have a merge option for the version map. Currently when running watch commands it will override the file and lose all other versioned file mappings. A merge option would allow us to use watch commands and only merge in current changes.

Similar to what https://www.npmjs.com/package/grunt-hashmap does.

jk- avatar Jan 19 '15 20:01 jk-

Since 2015 and this isn't done? :(

herlon214 avatar Sep 19 '16 20:09 herlon214

@theasta Are you accepting PRs for this? If so, do you have any guidance on how you'd like it implemented? I was thinking a json object in a file that is loaded, updated, and rewritten. Then there could be a flag to delete all the entries that were updated to keep the file system clean. That would address #70 .

cjbarth avatar Apr 07 '17 18:04 cjbarth