{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/karma-jspm/issues/81","labels_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/81/comments","events_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/81/events","html_url":"https://github.com/Workiva/karma-jspm/pull/81","id":98077028,"number":81,"title":"Fix to honor the \"useBundles\" jspm Karma configuration option","user":{"login":"frayer","id":436196,"avatar_url":"https://avatars.githubusercontent.com/u/436196?v=3","gravatar_id":"","url":"https://api.github.com/users/frayer","html_url":"https://github.com/frayer","followers_url":"https://api.github.com/users/frayer/followers","following_url":"https://api.github.com/users/frayer/following{/other_user}","gists_url":"https://api.github.com/users/frayer/gists{/gist_id}","starred_url":"https://api.github.com/users/frayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frayer/subscriptions","organizations_url":"https://api.github.com/users/frayer/orgs","repos_url":"https://api.github.com/users/frayer/repos","events_url":"https://api.github.com/users/frayer/events{/privacy}","received_events_url":"https://api.github.com/users/frayer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-30T03:27:14Z","updated_at":"2015-08-18T01:04:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Workiva/karma-jspm/pulls/81","html_url":"https://github.com/Workiva/karma-jspm/pull/81","diff_url":"https://github.com/Workiva/karma-jspm/pull/81.diff","patch_url":"https://github.com/Workiva/karma-jspm/pull/81.patch"},"body":"In my karma.conf.js file I was using the jspm { useBundles: false } configuration as shown below.  It wasn't honoring that setting and was trying to load my bundles even if I set it to false.  My change is to move where the exclusion of the SystemJS bundles is performed, and changes how we do it.\r\n\r\nIn the 0.18.x versions of SystemJS, they only add or update to existing bundle configuration with the System.config method.  See [core.js](https://github.com/systemjs/systemjs/blob/master/lib/core.js).  You can't set it back to an empty map with System.config.\r\n\r\nkarma-jspm is loading in my \"./config.js\" file which has bundles defined in it and then it's being configured and can't be removed with the System.config call.  I'm open to alternative implementations, but this one is working for me locally.\r\n\r\nI can produce a small sample project to show the issue if that helps.\r\n\r\n```javascript\r\nmodule.exports = function(config) {\r\n  config.set({\r\n    ...\r\n    ...\r\n    jspm: {\r\n        useBundles: false\r\n    }\r\n    ...\r\n    ...\r\n  })\r\n}\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Workiva/karma-jspm/issues/comments/132012554","html_url":"https://github.com/Workiva/karma-jspm/pull/81#issuecomment-132012554","issue_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/81","id":132012554,"user":{"login":"maxwellpeterson-wf","id":1480547,"avatar_url":"https://avatars.githubusercontent.com/u/1480547?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellpeterson-wf","html_url":"https://github.com/maxwellpeterson-wf","followers_url":"https://api.github.com/users/maxwellpeterson-wf/followers","following_url":"https://api.github.com/users/maxwellpeterson-wf/following{/other_user}","gists_url":"https://api.github.com/users/maxwellpeterson-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellpeterson-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellpeterson-wf/subscriptions","organizations_url":"https://api.github.com/users/maxwellpeterson-wf/orgs","repos_url":"https://api.github.com/users/maxwellpeterson-wf/repos","events_url":"https://api.github.com/users/maxwellpeterson-wf/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellpeterson-wf/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T01:04:58Z","updated_at":"2015-08-18T01:04:58Z","body":"+1\r\n@trentgrover-wf @evanweible-wf "}}