{"action":"created","issue":{"url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/16","labels_url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/16/comments","events_url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/16/events","html_url":"https://github.com/mdreizin/gulp-webpack-build/issues/16","id":81238579,"number":16,"title":"webpack should be a peerDependency","user":{"login":"peleteiro","id":822,"avatar_url":"https://avatars.githubusercontent.com/u/822?v=3","gravatar_id":"","url":"https://api.github.com/users/peleteiro","html_url":"https://github.com/peleteiro","followers_url":"https://api.github.com/users/peleteiro/followers","following_url":"https://api.github.com/users/peleteiro/following{/other_user}","gists_url":"https://api.github.com/users/peleteiro/gists{/gist_id}","starred_url":"https://api.github.com/users/peleteiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peleteiro/subscriptions","organizations_url":"https://api.github.com/users/peleteiro/orgs","repos_url":"https://api.github.com/users/peleteiro/repos","events_url":"https://api.github.com/users/peleteiro/events{/privacy}","received_events_url":"https://api.github.com/users/peleteiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-27T02:37:58Z","updated_at":"2015-07-15T17:53:58Z","closed_at":null,"body":"The DedupePlugin crashs if two webpack are loaded. And it makes sense making it a peerDependecy.\r\n(It should be a peerDependency at webpack-config as well)\r\n\r\n```\r\n./node_modules/gulp-webpack-build/node_modules/webpack/lib/NormalModule.js:116\r\n\t\tif(!template) throw new Error(\"No template for dependency: \" + dep.Class.nam\r\n```\r\n\r\nThe workaround is running npm dedupe before using gulp-webpack-build."},"comment":{"url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/comments/121692681","html_url":"https://github.com/mdreizin/gulp-webpack-build/issues/16#issuecomment-121692681","issue_url":"https://api.github.com/repos/mdreizin/gulp-webpack-build/issues/16","id":121692681,"user":{"login":"mdreizin","id":279122,"avatar_url":"https://avatars.githubusercontent.com/u/279122?v=3","gravatar_id":"","url":"https://api.github.com/users/mdreizin","html_url":"https://github.com/mdreizin","followers_url":"https://api.github.com/users/mdreizin/followers","following_url":"https://api.github.com/users/mdreizin/following{/other_user}","gists_url":"https://api.github.com/users/mdreizin/gists{/gist_id}","starred_url":"https://api.github.com/users/mdreizin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdreizin/subscriptions","organizations_url":"https://api.github.com/users/mdreizin/orgs","repos_url":"https://api.github.com/users/mdreizin/repos","events_url":"https://api.github.com/users/mdreizin/events{/privacy}","received_events_url":"https://api.github.com/users/mdreizin/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T17:53:58Z","updated_at":"2015-07-15T17:53:58Z","body":"@peleteiro have you got any errors using the latest version? I'm going to close this issue if everything is ok."}}