{"action":"created","issue":{"url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/2","labels_url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/2/comments","events_url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/2/events","html_url":"https://github.com/HipsterBrown/t2-cli/pull/2","id":113107224,"number":2,"title":"Respect .tesselignore in --slim builds","user":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T21:56:56Z","updated_at":"2015-10-23T22:20:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HipsterBrown/t2-cli/pulls/2","html_url":"https://github.com/HipsterBrown/t2-cli/pull/2","diff_url":"https://github.com/HipsterBrown/t2-cli/pull/2.diff","patch_url":"https://github.com/HipsterBrown/t2-cli/pull/2.patch"},"body":"1. If opts.slim is true,\r\n  i. glob for all ./**/*.tesselignore files;\r\n    a. let exclusions be the result of combining the contents of each .tesselignore into a single {pattern};\r\n  ii. let b be a new browserify bundler object with the existing options that @reconbot discovered\r\n  iii. let files be glob.sync(exclusions)\r\n  iv. for each file of files\r\n    a. call b.exclude(file)\r\n      a. call b.bundle(...)\r\n  v. on completion of bundle, minify and write bundled program code."},"comment":{"url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/comments/150705919","html_url":"https://github.com/HipsterBrown/t2-cli/pull/2#issuecomment-150705919","issue_url":"https://api.github.com/repos/HipsterBrown/t2-cli/issues/2","id":150705919,"user":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T22:20:11Z","updated_at":"2015-10-23T22:20:11Z","body":"We found bugs, don't land this yet. "}}