{"action":"created","issue":{"url":"https://api.github.com/repos/gulpjs/plugins/issues/205","labels_url":"https://api.github.com/repos/gulpjs/plugins/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/gulpjs/plugins/issues/205/comments","events_url":"https://api.github.com/repos/gulpjs/plugins/issues/205/events","html_url":"https://github.com/gulpjs/plugins/issues/205","id":123287228,"number":205,"title":"unblacklist gulp-rollup","user":{"login":"flying-sheep","id":291575,"avatar_url":"https://avatars.githubusercontent.com/u/291575?v=3","gravatar_id":"","url":"https://api.github.com/users/flying-sheep","html_url":"https://github.com/flying-sheep","followers_url":"https://api.github.com/users/flying-sheep/followers","following_url":"https://api.github.com/users/flying-sheep/following{/other_user}","gists_url":"https://api.github.com/users/flying-sheep/gists{/gist_id}","starred_url":"https://api.github.com/users/flying-sheep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flying-sheep/subscriptions","organizations_url":"https://api.github.com/users/flying-sheep/orgs","repos_url":"https://api.github.com/users/flying-sheep/repos","events_url":"https://api.github.com/users/flying-sheep/events{/privacy}","received_events_url":"https://api.github.com/users/flying-sheep/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-21T14:18:02Z","updated_at":"2015-12-22T09:41:04Z","closed_at":"2015-12-21T21:24:01Z","body":"hi, after struggling to use rollup directly and seeing that rollup-stream is incompatible with gulp-plumber i wonder why this is blacklisted.\r\n\r\ni *much* rather do \r\n\r\n```js\r\nreturn gulp.src('src/js/main.js')\r\n\t.pipe(plumber())\r\n\t.pipe(rollup({ sourceMap: true }))\r\n\t.pipe(sourcemaps.init({ loadMaps: true }))\r\n\t.pipe(uglify())\r\n\t.pipe(sourcemaps.write('.'))\r\n\t.pipe(gulp.dest('js/'))\r\n```\r\n\r\nthan\r\n\r\n```js\r\nconst stream = rollupStream({\r\n\tentry: 'src/js/main.js',\r\n\tsourceMap: true,\r\n})\r\nreturn stream\r\n\t.on('error', e => {\r\n\t\tconsole.error(`${e.stack}`)\r\n\t\tstream.emit('end')\r\n\t})\r\n\t.pipe(source('src/js/main.js'))\r\n\t.pipe(buffer())\r\n\t.pipe(sourcemaps.init({ loadMaps: true }))\r\n\t.pipe(uglify())\r\n\t.pipe(sourcemaps.write('.'))\r\n\t.pipe(gulp.dest('js/'))\r\n```\r\n\r\nor whatever arcane incantations you have to go through to mace the recommended way work."},"comment":{"url":"https://api.github.com/repos/gulpjs/plugins/issues/comments/166568005","html_url":"https://github.com/gulpjs/plugins/issues/205#issuecomment-166568005","issue_url":"https://api.github.com/repos/gulpjs/plugins/issues/205","id":166568005,"user":{"login":"Permutatrix","id":13004953,"avatar_url":"https://avatars.githubusercontent.com/u/13004953?v=3","gravatar_id":"","url":"https://api.github.com/users/Permutatrix","html_url":"https://github.com/Permutatrix","followers_url":"https://api.github.com/users/Permutatrix/followers","following_url":"https://api.github.com/users/Permutatrix/following{/other_user}","gists_url":"https://api.github.com/users/Permutatrix/gists{/gist_id}","starred_url":"https://api.github.com/users/Permutatrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Permutatrix/subscriptions","organizations_url":"https://api.github.com/users/Permutatrix/orgs","repos_url":"https://api.github.com/users/Permutatrix/repos","events_url":"https://api.github.com/users/Permutatrix/events{/privacy}","received_events_url":"https://api.github.com/users/Permutatrix/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T09:41:04Z","updated_at":"2015-12-22T09:41:04Z","body":"@flying-sheep Although... it might work if you put gulp-plumber first, like so:\r\n\r\n```js\r\nplumber()\r\n    .pipe(rollup.src('src/js/main.js'))\r\n    .pipe(sourcemaps.init())\r\n    .pipe(rollup.bundle())\r\n    .pipe(uglify())\r\n    .pipe(sourcemaps.write('.'))\r\n    .pipe(gulp.dest('js/'))\r\n```\r\n\r\nJust a crazy thought. It's too late at night for me to be having thoughts of any other kind."}}