{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/181","repository_url":"https://api.github.com/repos/sindresorhus/gulp-rev","labels_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/181/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/181/events","html_url":"https://github.com/sindresorhus/gulp-rev/issues/181","id":160228979,"number":181,"title":"Add support for hash suffixes and prefixes","user":{"login":"atamas101","id":8792584,"avatar_url":"https://avatars.githubusercontent.com/u/8792584?v=3","gravatar_id":"","url":"https://api.github.com/users/atamas101","html_url":"https://github.com/atamas101","followers_url":"https://api.github.com/users/atamas101/followers","following_url":"https://api.github.com/users/atamas101/following{/other_user}","gists_url":"https://api.github.com/users/atamas101/gists{/gist_id}","starred_url":"https://api.github.com/users/atamas101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atamas101/subscriptions","organizations_url":"https://api.github.com/users/atamas101/orgs","repos_url":"https://api.github.com/users/atamas101/repos","events_url":"https://api.github.com/users/atamas101/events{/privacy}","received_events_url":"https://api.github.com/users/atamas101/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-06-14T16:42:47Z","updated_at":"2016-06-15T01:30:56Z","closed_at":"2016-06-14T16:46:16Z","body":"### Add support for hash suffixes and prefixes\r\n\r\nBecause of backend needs I need some more control over resulted named of revved files, ex:\r\n\r\nunicorn.css => unicorn-pre.d41d8cd98f.sfx.css\r\n\r\nFor me it wouldn't make sense to do it outside of this gulp-rev task so I forked it and will do a pull request soon. \r\n\r\n##### Would you consider merging this?\r\n##### If not, would you mind me publishing the fork as a new NPM package?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/comments/226064621","html_url":"https://github.com/sindresorhus/gulp-rev/issues/181#issuecomment-226064621","issue_url":"https://api.github.com/repos/sindresorhus/gulp-rev/issues/181","id":226064621,"user":{"login":"atamas101","id":8792584,"avatar_url":"https://avatars.githubusercontent.com/u/8792584?v=3","gravatar_id":"","url":"https://api.github.com/users/atamas101","html_url":"https://github.com/atamas101","followers_url":"https://api.github.com/users/atamas101/followers","following_url":"https://api.github.com/users/atamas101/following{/other_user}","gists_url":"https://api.github.com/users/atamas101/gists{/gist_id}","starred_url":"https://api.github.com/users/atamas101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atamas101/subscriptions","organizations_url":"https://api.github.com/users/atamas101/orgs","repos_url":"https://api.github.com/users/atamas101/repos","events_url":"https://api.github.com/users/atamas101/events{/privacy}","received_events_url":"https://api.github.com/users/atamas101/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T01:30:56Z","updated_at":"2016-06-15T01:30:56Z","body":"@lukeed Yeah, I had already started on something like that :). \r\nJust finished: [@atamas101/gulp-rev-format](https://github.com/atamas101/gulp-rev-format)\r\n\r\nMine will be used like: \r\n```js\r\nvar gulp = require('gulp');\r\nvar rev = require('gulp-rev');\r\nvar revFormat = require('gulp-rev-format');\r\n\r\ngulp.task('default', function () {\r\n\treturn gulp.src('src/*.*')\r\n\t\t.pipe(rev())\r\n\t\t.pipe(revFormat({\r\n            prefix: '-pfx-',\r\n            suffix: '.sfx',\r\n            lastExt: false\r\n        }))\r\n\t\t.pipe(gulp.dest('dist'))\r\n\t\t.pipe(rev.manifest())\r\n\t\t.pipe(gulp.dest('dist'));\r\n\r\n      //=> 'dist/test-pfx-HASH.sfx.js'\r\n});\r\n```\r\n- feedback much appreciated "}}
{"actor":{"display_login":"atamas101"}}