{"action":"created","issue":{"url":"https://api.github.com/repos/shama/webpack-stream/issues/86","labels_url":"https://api.github.com/repos/shama/webpack-stream/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/shama/webpack-stream/issues/86/comments","events_url":"https://api.github.com/repos/shama/webpack-stream/issues/86/events","html_url":"https://github.com/shama/webpack-stream/issues/86","id":118995137,"number":86,"title":"Version 2.2.0 failed to generate sourcemap.","user":{"login":"singggum3b","id":5172112,"avatar_url":"https://avatars.githubusercontent.com/u/5172112?v=3","gravatar_id":"","url":"https://api.github.com/users/singggum3b","html_url":"https://github.com/singggum3b","followers_url":"https://api.github.com/users/singggum3b/followers","following_url":"https://api.github.com/users/singggum3b/following{/other_user}","gists_url":"https://api.github.com/users/singggum3b/gists{/gist_id}","starred_url":"https://api.github.com/users/singggum3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singggum3b/subscriptions","organizations_url":"https://api.github.com/users/singggum3b/orgs","repos_url":"https://api.github.com/users/singggum3b/repos","events_url":"https://api.github.com/users/singggum3b/events{/privacy}","received_events_url":"https://api.github.com/users/singggum3b/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/shama/webpack-stream/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-26T08:20:22Z","updated_at":"2015-12-07T12:11:52Z","closed_at":null,"body":"I suppose it's related to the update , since version 2.1.1 worked properly with devtool = \"source-map\".\r\n```javascript\r\nreturn gulp.src(\"./src/js/**/*.js\")\r\n\t\t\t.pipe(webpackgulp(assign({}, require(\"./webpack.config.js\"), {\r\n\t\t\t\tentry: {\r\n\t\t\t\t\t\"app.entry.js\": \"./src/js/app.entry.js\"\r\n\t\t\t\t},\r\n\t\t\t\twatch: true,\r\n\t\t\t\tdevtool: \"source-map\",\r\n\t\t\t\toutput: {\r\n\t\t\t\t\tfilename: \"[name]\",\r\n\t\t\t\t\tpublicPath: \"/js/\",\r\n\t\t\t\t\tchunkFilename: \"[id].[chunkhash].[name].js\"\r\n\t\t\t\t},\r\n\t\t\t\texternals: {\r\n\t\t\t\t\t\"jquery\": \"$\",\r\n\t\t\t\t\t\"react\": \"React\",\r\n\t\t\t\t\t\"react-dom\": \"ReactDOM\",\r\n\t\t\t\t\t\"react/addons\": \"React\"\r\n\t\t\t\t},\r\n\t\t\t\tplugins: [\r\n\t\t\t\t\t// Linting Javascript files\r\n\t\t\t\t\tnew OnCompilePlugin(function (params) {\r\n\t\t\t\t\t\t//gulp.run(\"lint\");\r\n\t\t\t\t\t}),\r\n\t\t\t\t\tnew webpack.optimize.CommonsChunkPlugin({\r\n\t\t\t\t\t\tasync: true,\r\n\t\t\t\t\t\tminChunks: 2\r\n\t\t\t\t\t}),\r\n\t\t\t\t\tnew webpack.optimize.DedupePlugin()\r\n\t\t\t\t]\r\n\t\t\t})))\r\n\t\t\t.pipe(gulp.dest(\"./build/dev/js/\"));\r\n```\r\n\r\nthe alert show that's there are source map generated , but there are no actual file output\r\n```\r\nVersion: webpack 1.12.6\r\n                          Asset     Size  Chunks             Chunk Names\r\n                   app.entry.js  5.43 kB       0  [emitted]  app.entry.js\r\n    1.3a2da803ac3411893152.1.js  69.1 kB       1  [emitted]  \r\n               app.entry.js.map  6.02 kB       0  [emitted]  app.entry.js\r\n1.3a2da803ac3411893152.1.js.map  93.4 kB       1  [emitted]  \r\n[15:11:01] webpack is watching for changes\r\n[15:11:02] Version: webpack 1.12.6\r\n```\r\n\r\nIts should be notify that version 2.1.1 work just fine.\r\n"},"comment":{"url":"https://api.github.com/repos/shama/webpack-stream/issues/comments/162507354","html_url":"https://github.com/shama/webpack-stream/issues/86#issuecomment-162507354","issue_url":"https://api.github.com/repos/shama/webpack-stream/issues/86","id":162507354,"user":{"login":"mikemagnusw","id":8778501,"avatar_url":"https://avatars.githubusercontent.com/u/8778501?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemagnusw","html_url":"https://github.com/mikemagnusw","followers_url":"https://api.github.com/users/mikemagnusw/followers","following_url":"https://api.github.com/users/mikemagnusw/following{/other_user}","gists_url":"https://api.github.com/users/mikemagnusw/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemagnusw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemagnusw/subscriptions","organizations_url":"https://api.github.com/users/mikemagnusw/orgs","repos_url":"https://api.github.com/users/mikemagnusw/repos","events_url":"https://api.github.com/users/mikemagnusw/events{/privacy}","received_events_url":"https://api.github.com/users/mikemagnusw/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T12:11:52Z","updated_at":"2015-12-07T12:11:52Z","body":"I suppose it all depends on whether one needs to do further processing in the gulp file stream, after webpack has done its thing. If not, it's probably reasonable that anything webpack emits is to be preserved as it was emitted.\r\n\r\nIn either case, perhaps the the behaviour of subsuming source map files should be opt-in, via a custom option to webpack-stream in the first parameter? This would avoid the additional dependency and confusion from changed/unexpected behaviour, while still enabling those who do want source map files to be handled in that way."}}