{"action":"closed","issue":{"url":"https://api.github.com/repos/makojs/css/issues/77","repository_url":"https://api.github.com/repos/makojs/css","labels_url":"https://api.github.com/repos/makojs/css/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/makojs/css/issues/77/comments","events_url":"https://api.github.com/repos/makojs/css/issues/77/events","html_url":"https://github.com/makojs/css/issues/77","id":190479632,"number":77,"title":"Support inlining assets","user":{"login":"dominicbarnes","id":160197,"avatar_url":"https://avatars.githubusercontent.com/u/160197?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicbarnes","html_url":"https://github.com/dominicbarnes","followers_url":"https://api.github.com/users/dominicbarnes/followers","following_url":"https://api.github.com/users/dominicbarnes/following{/other_user}","gists_url":"https://api.github.com/users/dominicbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicbarnes/subscriptions","organizations_url":"https://api.github.com/users/dominicbarnes/orgs","repos_url":"https://api.github.com/users/dominicbarnes/repos","events_url":"https://api.github.com/users/dominicbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/dominicbarnes/received_events","type":"User","site_admin":false},"labels":[{"id":453258632,"url":"https://api.github.com/repos/makojs/css/labels/feature","name":"feature","color":"91CA55","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-19T06:15:17Z","updated_at":"2016-11-19T22:24:56Z","closed_at":"2016-11-19T22:24:56Z","body":"In some cases, inlining assets makes more sense than leaving them external. I would think the API would be like:\r\n\r\n - `false` would be the default behavior and nothing would be inlined\r\n - `true` would mean inline all external resources\r\n - a number is a threshold for a maximum size in bytes (ie: `inline: 1024` means to inline anything 1kB or smaller)\r\n - a function that accepts a file and returns a bool determining whether or not to inline\r\n\r\nI imagine the implementation would just use [rework-plugin-inline](https://github.com/reworkcss/rework-plugin-inline)."}}
{"actor":{"display_login":"dominicbarnes"}}