{"action":"opened","number":761,"pull_request":{"url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761","id":174398652,"html_url":"https://github.com/Brightspace/brightspace-integration/pull/761","diff_url":"https://github.com/Brightspace/brightspace-integration/pull/761.diff","patch_url":"https://github.com/Brightspace/brightspace-integration/pull/761.patch","issue_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/761","number":761,"state":"open","locked":false,"title":"Smaller bsijs bundle","user":{"login":"omsmith","id":1127384,"avatar_url":"https://avatars2.githubusercontent.com/u/1127384?v=4","gravatar_id":"","url":"https://api.github.com/users/omsmith","html_url":"https://github.com/omsmith","followers_url":"https://api.github.com/users/omsmith/followers","following_url":"https://api.github.com/users/omsmith/following{/other_user}","gists_url":"https://api.github.com/users/omsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/omsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omsmith/subscriptions","organizations_url":"https://api.github.com/users/omsmith/orgs","repos_url":"https://api.github.com/users/omsmith/repos","events_url":"https://api.github.com/users/omsmith/events{/privacy}","received_events_url":"https://api.github.com/users/omsmith/received_events","type":"User","site_admin":false},"body":"Revisited this from a long while back. Output seems more obviously correct, but haven't tested locally yet.\r\n\r\n- [ ] Test locally\r\n\r\nbsi.js is larger since we were already minifying as a transform in the browserify bundle.\r\n\r\n| File | Master | Rollup (% Master) | Rollup & Uglify3 (% Master) |\r\n| ----- | --------- | -------- | ---------------------- |\r\n| bsi.js | 24683 | 40231 (163) | 40231 (163) | \r\n| bsi.js.gz | 7027 | 9402 (134) | 9402 (134) |\r\n| bsi.min.js | 24174 | 21597 (89) | 21398 (89) |\r\n| bsi.min.js.gz | 6927 | 6318 (91) | 6299 (91) |\r\n","created_at":"2018-03-12T15:11:30Z","updated_at":"2018-03-12T15:11:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761/commits","review_comments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761/comments","review_comment_url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/761/comments","statuses_url":"https://api.github.com/repos/Brightspace/brightspace-integration/statuses/a59d0872440d67276fcfedd930cc3e53daf4c292","head":{"label":"Brightspace:smaller-bsijs-bundle","ref":"smaller-bsijs-bundle","sha":"a59d0872440d67276fcfedd930cc3e53daf4c292","user":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars2.githubusercontent.com/u/5429170?v=4","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"repo":{"id":41118171,"name":"brightspace-integration","full_name":"Brightspace/brightspace-integration","owner":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars2.githubusercontent.com/u/5429170?v=4","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Brightspace/brightspace-integration","description":"Integration project for various assets consumed by Brightspace","fork":false,"url":"https://api.github.com/repos/Brightspace/brightspace-integration","forks_url":"https://api.github.com/repos/Brightspace/brightspace-integration/forks","keys_url":"https://api.github.com/repos/Brightspace/brightspace-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Brightspace/brightspace-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Brightspace/brightspace-integration/teams","hooks_url":"https://api.github.com/repos/Brightspace/brightspace-integration/hooks","issue_events_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/events{/number}","events_url":"https://api.github.com/repos/Brightspace/brightspace-integration/events","assignees_url":"https://api.github.com/repos/Brightspace/brightspace-integration/assignees{/user}","branches_url":"https://api.github.com/repos/Brightspace/brightspace-integration/branches{/branch}","tags_url":"https://api.github.com/repos/Brightspace/brightspace-integration/tags","blobs_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Brightspace/brightspace-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/Brightspace/brightspace-integration/languages","stargazers_url":"https://api.github.com/repos/Brightspace/brightspace-integration/stargazers","contributors_url":"https://api.github.com/repos/Brightspace/brightspace-integration/contributors","subscribers_url":"https://api.github.com/repos/Brightspace/brightspace-integration/subscribers","subscription_url":"https://api.github.com/repos/Brightspace/brightspace-integration/subscription","commits_url":"https://api.github.com/repos/Brightspace/brightspace-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/Brightspace/brightspace-integration/contents/{+path}","compare_url":"https://api.github.com/repos/Brightspace/brightspace-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Brightspace/brightspace-integration/merges","archive_url":"https://api.github.com/repos/Brightspace/brightspace-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Brightspace/brightspace-integration/downloads","issues_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues{/number}","pulls_url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/Brightspace/brightspace-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/Brightspace/brightspace-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Brightspace/brightspace-integration/labels{/name}","releases_url":"https://api.github.com/repos/Brightspace/brightspace-integration/releases{/id}","deployments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/deployments","created_at":"2015-08-20T20:48:11Z","updated_at":"2017-12-17T00:44:46Z","pushed_at":"2018-03-12T04:13:53Z","git_url":"git://github.com/Brightspace/brightspace-integration.git","ssh_url":"git@github.com:Brightspace/brightspace-integration.git","clone_url":"https://github.com/Brightspace/brightspace-integration.git","svn_url":"https://github.com/Brightspace/brightspace-integration","homepage":"","size":3037,"stargazers_count":6,"watchers_count":6,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":18,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"Brightspace:master","ref":"master","sha":"97b99015aaafecdd7910878dbb908154a603e61c","user":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars2.githubusercontent.com/u/5429170?v=4","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"repo":{"id":41118171,"name":"brightspace-integration","full_name":"Brightspace/brightspace-integration","owner":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars2.githubusercontent.com/u/5429170?v=4","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Brightspace/brightspace-integration","description":"Integration project for various assets consumed by Brightspace","fork":false,"url":"https://api.github.com/repos/Brightspace/brightspace-integration","forks_url":"https://api.github.com/repos/Brightspace/brightspace-integration/forks","keys_url":"https://api.github.com/repos/Brightspace/brightspace-integration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Brightspace/brightspace-integration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Brightspace/brightspace-integration/teams","hooks_url":"https://api.github.com/repos/Brightspace/brightspace-integration/hooks","issue_events_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/events{/number}","events_url":"https://api.github.com/repos/Brightspace/brightspace-integration/events","assignees_url":"https://api.github.com/repos/Brightspace/brightspace-integration/assignees{/user}","branches_url":"https://api.github.com/repos/Brightspace/brightspace-integration/branches{/branch}","tags_url":"https://api.github.com/repos/Brightspace/brightspace-integration/tags","blobs_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/refs{/sha}","trees_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Brightspace/brightspace-integration/statuses/{sha}","languages_url":"https://api.github.com/repos/Brightspace/brightspace-integration/languages","stargazers_url":"https://api.github.com/repos/Brightspace/brightspace-integration/stargazers","contributors_url":"https://api.github.com/repos/Brightspace/brightspace-integration/contributors","subscribers_url":"https://api.github.com/repos/Brightspace/brightspace-integration/subscribers","subscription_url":"https://api.github.com/repos/Brightspace/brightspace-integration/subscription","commits_url":"https://api.github.com/repos/Brightspace/brightspace-integration/commits{/sha}","git_commits_url":"https://api.github.com/repos/Brightspace/brightspace-integration/git/commits{/sha}","comments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/comments{/number}","issue_comment_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/comments{/number}","contents_url":"https://api.github.com/repos/Brightspace/brightspace-integration/contents/{+path}","compare_url":"https://api.github.com/repos/Brightspace/brightspace-integration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Brightspace/brightspace-integration/merges","archive_url":"https://api.github.com/repos/Brightspace/brightspace-integration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Brightspace/brightspace-integration/downloads","issues_url":"https://api.github.com/repos/Brightspace/brightspace-integration/issues{/number}","pulls_url":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls{/number}","milestones_url":"https://api.github.com/repos/Brightspace/brightspace-integration/milestones{/number}","notifications_url":"https://api.github.com/repos/Brightspace/brightspace-integration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Brightspace/brightspace-integration/labels{/name}","releases_url":"https://api.github.com/repos/Brightspace/brightspace-integration/releases{/id}","deployments_url":"https://api.github.com/repos/Brightspace/brightspace-integration/deployments","created_at":"2015-08-20T20:48:11Z","updated_at":"2017-12-17T00:44:46Z","pushed_at":"2018-03-12T04:13:53Z","git_url":"git://github.com/Brightspace/brightspace-integration.git","ssh_url":"git@github.com:Brightspace/brightspace-integration.git","clone_url":"https://github.com/Brightspace/brightspace-integration.git","svn_url":"https://github.com/Brightspace/brightspace-integration","homepage":"","size":3037,"stargazers_count":6,"watchers_count":6,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":18,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761"},"html":{"href":"https://github.com/Brightspace/brightspace-integration/pull/761"},"issue":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/761"},"comments":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/issues/761/comments"},"review_comments":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761/comments"},"review_comment":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/pulls/761/commits"},"statuses":{"href":"https://api.github.com/repos/Brightspace/brightspace-integration/statuses/a59d0872440d67276fcfedd930cc3e53daf4c292"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":178,"deletions":1125,"changed_files":6}}
{"actor":{"display_login":"omsmith"}}