{"action":"created","issue":{"url":"https://api.github.com/repos/istrategylabs/mo-static/issues/5","labels_url":"https://api.github.com/repos/istrategylabs/mo-static/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/istrategylabs/mo-static/issues/5/comments","events_url":"https://api.github.com/repos/istrategylabs/mo-static/issues/5/events","html_url":"https://github.com/istrategylabs/mo-static/issues/5","id":116340872,"number":5,"title":"Built CSS and JS and HTML should be minified","user":{"login":"akrawchyk","id":903716,"avatar_url":"https://avatars.githubusercontent.com/u/903716?v=3","gravatar_id":"","url":"https://api.github.com/users/akrawchyk","html_url":"https://github.com/akrawchyk","followers_url":"https://api.github.com/users/akrawchyk/followers","following_url":"https://api.github.com/users/akrawchyk/following{/other_user}","gists_url":"https://api.github.com/users/akrawchyk/gists{/gist_id}","starred_url":"https://api.github.com/users/akrawchyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrawchyk/subscriptions","organizations_url":"https://api.github.com/users/akrawchyk/orgs","repos_url":"https://api.github.com/users/akrawchyk/repos","events_url":"https://api.github.com/users/akrawchyk/events{/privacy}","received_events_url":"https://api.github.com/users/akrawchyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"thomasdegry","id":2844217,"avatar_url":"https://avatars.githubusercontent.com/u/2844217?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasdegry","html_url":"https://github.com/thomasdegry","followers_url":"https://api.github.com/users/thomasdegry/followers","following_url":"https://api.github.com/users/thomasdegry/following{/other_user}","gists_url":"https://api.github.com/users/thomasdegry/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasdegry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasdegry/subscriptions","organizations_url":"https://api.github.com/users/thomasdegry/orgs","repos_url":"https://api.github.com/users/thomasdegry/repos","events_url":"https://api.github.com/users/thomasdegry/events{/privacy}","received_events_url":"https://api.github.com/users/thomasdegry/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-11T14:04:33Z","updated_at":"2015-11-11T16:36:10Z","closed_at":null,"body":"As a developer, I want to minify my built CSS and JS and HTML, so I can increase FE performance by reducing page load.\r\n\r\nThis relates to #4 such that one possibility of minifying these assets is during the version step, see https://github.com/jamesknelson/gulp-rev-replace#usage.\r\n\r\nWe could also do them in sequence, first cache-busting the files then minifying them.\r\n\r\n* Use https://github.com/terinjokes/gulp-uglify to mimify JS.\r\n* Use https://github.com/murphydanger/gulp-minify-css to minify CSS.\r\n* Use https://github.com/jonschlinkert/gulp-htmlmin to minify HTML. We'll have to set some special options for this to get maximum butter, use:\r\n```\r\n{\r\n    collapseWhitespace: true,\r\n    removeComments: true,\r\n    removeRedundantAttributes: true,\r\n    removeScriptTypeAttributes: true,\r\n    removeStyleLinkTypeAttributes: true\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/istrategylabs/mo-static/issues/comments/155837365","html_url":"https://github.com/istrategylabs/mo-static/issues/5#issuecomment-155837365","issue_url":"https://api.github.com/repos/istrategylabs/mo-static/issues/5","id":155837365,"user":{"login":"josephabrahams","id":2895621,"avatar_url":"https://avatars.githubusercontent.com/u/2895621?v=3","gravatar_id":"","url":"https://api.github.com/users/josephabrahams","html_url":"https://github.com/josephabrahams","followers_url":"https://api.github.com/users/josephabrahams/followers","following_url":"https://api.github.com/users/josephabrahams/following{/other_user}","gists_url":"https://api.github.com/users/josephabrahams/gists{/gist_id}","starred_url":"https://api.github.com/users/josephabrahams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephabrahams/subscriptions","organizations_url":"https://api.github.com/users/josephabrahams/orgs","repos_url":"https://api.github.com/users/josephabrahams/repos","events_url":"https://api.github.com/users/josephabrahams/events{/privacy}","received_events_url":"https://api.github.com/users/josephabrahams/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T16:36:10Z","updated_at":"2015-11-11T16:36:10Z","body":"Does `removeScriptTypeAttributes` keep non-`text/javascript` type attributes (i.e. `text/jsx`)?\r\n\r\n"}}