{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/karma-webpack/issues/72","repository_url":"https://api.github.com/repos/webpack/karma-webpack","labels_url":"https://api.github.com/repos/webpack/karma-webpack/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/webpack/karma-webpack/issues/72/comments","events_url":"https://api.github.com/repos/webpack/karma-webpack/issues/72/events","html_url":"https://github.com/webpack/karma-webpack/issues/72","id":99492810,"number":72,"title":"Running tests alongside actual webpack build screws up output.","user":{"login":"jeffijoe","id":2505474,"avatar_url":"https://avatars.githubusercontent.com/u/2505474?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffijoe","html_url":"https://github.com/jeffijoe","followers_url":"https://api.github.com/users/jeffijoe/followers","following_url":"https://api.github.com/users/jeffijoe/following{/other_user}","gists_url":"https://api.github.com/users/jeffijoe/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffijoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffijoe/subscriptions","organizations_url":"https://api.github.com/users/jeffijoe/orgs","repos_url":"https://api.github.com/users/jeffijoe/repos","events_url":"https://api.github.com/users/jeffijoe/events{/privacy}","received_events_url":"https://api.github.com/users/jeffijoe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/karma-webpack/labels/configuration","name":"configuration","color":"81a2be"},{"url":"https://api.github.com/repos/webpack/karma-webpack/labels/question","name":"question","color":"0052cc"},{"url":"https://api.github.com/repos/webpack/karma-webpack/labels/response%20required","name":"response required","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-08-06T18:04:01Z","updated_at":"2016-07-31T19:40:12Z","closed_at":null,"body":"I am using Gulp with `webpack-stream`, and running the actual build of my app at the same time as my tests.\r\n\r\nDoing so caused my bundled output file `main.js` to be named `main` without the `.js` extension.\r\n\r\nI got around this by nulling the `output` property in my config for the tests.\r\n\r\n```javascript\r\nvar webpackConfig = Object.assign({}, require('./build/webpack-config'), {\r\n  stats: false,\r\n  output: null // Fixes a Webpack issue where running the tests alongside the actual build would screw up the output.\r\n});\r\n```\r\n\r\nNot sure how this happened. If you need any other info from me let me know."},"comment":{"url":"https://api.github.com/repos/webpack/karma-webpack/issues/comments/236452053","html_url":"https://github.com/webpack/karma-webpack/issues/72#issuecomment-236452053","issue_url":"https://api.github.com/repos/webpack/karma-webpack/issues/72","id":236452053,"user":{"login":"d3viant0ne","id":8420490,"avatar_url":"https://avatars.githubusercontent.com/u/8420490?v=3","gravatar_id":"","url":"https://api.github.com/users/d3viant0ne","html_url":"https://github.com/d3viant0ne","followers_url":"https://api.github.com/users/d3viant0ne/followers","following_url":"https://api.github.com/users/d3viant0ne/following{/other_user}","gists_url":"https://api.github.com/users/d3viant0ne/gists{/gist_id}","starred_url":"https://api.github.com/users/d3viant0ne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3viant0ne/subscriptions","organizations_url":"https://api.github.com/users/d3viant0ne/orgs","repos_url":"https://api.github.com/users/d3viant0ne/repos","events_url":"https://api.github.com/users/d3viant0ne/events{/privacy}","received_events_url":"https://api.github.com/users/d3viant0ne/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T19:40:12Z","updated_at":"2016-07-31T19:40:12Z","body":"@jeffijoe @MattKunze - I'd need to see full configs as well as your gulp task to give you any useful information.\r\n\r\nThat said, if I had to guess I'd say you are watching from two different places || triggering from two different places || not waiting for the rebuild task to return before test execution if it's in a single gulp task."}}
{"actor":{"display_login":"d3viant0ne"}}