{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/wGulp/issues/123","labels_url":"https://api.github.com/repos/Workiva/wGulp/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/wGulp/issues/123/comments","events_url":"https://api.github.com/repos/Workiva/wGulp/issues/123/events","html_url":"https://github.com/Workiva/wGulp/pull/123","id":54473510,"number":123,"title":"CP-337 Add jspm bundle options for minify and sourceMaps","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-15T16:54:38Z","updated_at":"2015-01-16T15:23:37Z","closed_at":"2015-01-16T15:23:26Z","pull_request":{"url":"https://api.github.com/repos/Workiva/wGulp/pulls/123","html_url":"https://github.com/Workiva/wGulp/pull/123","diff_url":"https://github.com/Workiva/wGulp/pull/123.diff","patch_url":"https://github.com/Workiva/wGulp/pull/123.patch"},"body":"## Description\r\n\r\nJSPM now offers the ability to minify bundles and generate sourceMaps when bundling.\r\n\r\nThis PR adds the option to disable or enable each of these features per-bundle.\r\nExample:\r\n\r\n```js\r\n    bundles: {\r\n        app: {\r\n            bundler: 'jspm',\r\n            entry: 'build/src/app',\r\n            output: 'dist/CPDemo.js',\r\n            sfx: true,\r\n            sourceMaps: true,\r\n            minify: true\r\n        }\r\n    }\r\n```\r\n\r\nNotice the sourceMaps and minify options at the bottom.\r\n\r\n## Testing\r\n\r\n* When sourceMaps is true, jspm bundle should output the following:\r\n```bash\r\n     Building the single-file sfx bundle for build/src/app...\r\nok   Built into dist/CPDemo.js with source maps, unminified.\r\n```\r\n* When sourceMaps is false, jspm bundle should output the following:\r\n```bash\r\n     Building the single-file sfx bundle for build/src/app...\r\nok   Built into dist/CPDemo.js, unminified.\r\n```\r\n* When minify is true, jspm bundle should output the following:\r\n```bash\r\n     Building the single-file sfx bundle for build/src/app...\r\nok   Built into dist/CPDemo.js, minified.\r\n```\r\n\r\nTested with CPDemo.\r\n\r\n@trentgrover-wf \r\n@evanweible-wf \r\n@jayudey-wf \r\nFYI - @guybedford-wf "},"comment":{"url":"https://api.github.com/repos/Workiva/wGulp/issues/comments/70268672","html_url":"https://github.com/Workiva/wGulp/pull/123#issuecomment-70268672","issue_url":"https://api.github.com/repos/Workiva/wGulp/issues/123","id":70268672,"user":{"login":"jayudey-wf","id":4429043,"avatar_url":"https://avatars.githubusercontent.com/u/4429043?v=3","gravatar_id":"","url":"https://api.github.com/users/jayudey-wf","html_url":"https://github.com/jayudey-wf","followers_url":"https://api.github.com/users/jayudey-wf/followers","following_url":"https://api.github.com/users/jayudey-wf/following{/other_user}","gists_url":"https://api.github.com/users/jayudey-wf/gists{/gist_id}","starred_url":"https://api.github.com/users/jayudey-wf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayudey-wf/subscriptions","organizations_url":"https://api.github.com/users/jayudey-wf/orgs","repos_url":"https://api.github.com/users/jayudey-wf/repos","events_url":"https://api.github.com/users/jayudey-wf/events{/privacy}","received_events_url":"https://api.github.com/users/jayudey-wf/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T15:23:37Z","updated_at":"2015-01-16T15:23:37Z","body":"QA Resource Approval: +10\r\n\r\n- [ ] Testing instruction\r\n- [ ] Dev +1's\r\n- [ ] Dev/QA +10 with detail of what was tested\r\n- [ ] Unit test created/updated\r\n- [ ] All unit tests pass\r\n\r\nMerging into master."}}