{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/295","labels_url":"https://api.github.com/repos/guardian/membership-frontend/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/guardian/membership-frontend/issues/295/comments","events_url":"https://api.github.com/repos/guardian/membership-frontend/issues/295/events","html_url":"https://github.com/guardian/membership-frontend/pull/295","id":60321856,"number":295,"title":"Disable source maps in production","user":{"login":"davidrapson","id":123386,"avatar_url":"https://avatars.githubusercontent.com/u/123386?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrapson","html_url":"https://github.com/davidrapson","followers_url":"https://api.github.com/users/davidrapson/followers","following_url":"https://api.github.com/users/davidrapson/following{/other_user}","gists_url":"https://api.github.com/users/davidrapson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrapson/subscriptions","organizations_url":"https://api.github.com/users/davidrapson/orgs","repos_url":"https://api.github.com/users/davidrapson/repos","events_url":"https://api.github.com/users/davidrapson/events{/privacy}","received_events_url":"https://api.github.com/users/davidrapson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-09T10:10:20Z","updated_at":"2015-03-09T10:46:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/membership-frontend/pulls/295","html_url":"https://github.com/guardian/membership-frontend/pull/295","diff_url":"https://github.com/guardian/membership-frontend/pull/295.diff","patch_url":"https://github.com/guardian/membership-frontend/pull/295.patch"},"body":"**TL;DR Production CSS is now 3x smaller**\r\n\r\nWe have a couple of different grunt tasks which generate source maps, so there's a few different places so we end up with this situation:\r\n\r\n![screen shot 2015-03-09 at 10 05 42](https://cloud.githubusercontent.com/assets/123386/6553034/33b7d8dc-c644-11e4-9da4-1116f3d9d402.png)\r\n\r\nThis PR ensures that source maps are fully disabled in production.\r\n\r\n**Before**\r\n![css-size-before](https://cloud.githubusercontent.com/assets/123386/6553036/39ee97ae-c644-11e4-810c-a53743c5f3f6.png)\r\n\r\n**After**\r\n![css-size-after](https://cloud.githubusercontent.com/assets/123386/6553039/3fe25a2e-c644-11e4-8166-e36a0deca501.png)\r\n\r\nI did start some work to monitor asset sizes in Cloud Watch but never actually finished it, this might prompt me to pick that back up again."},"comment":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/comments/77832308","html_url":"https://github.com/guardian/membership-frontend/pull/295#issuecomment-77832308","issue_url":"https://api.github.com/repos/guardian/membership-frontend/issues/295","id":77832308,"user":{"login":"davidrapson","id":123386,"avatar_url":"https://avatars.githubusercontent.com/u/123386?v=3","gravatar_id":"","url":"https://api.github.com/users/davidrapson","html_url":"https://github.com/davidrapson","followers_url":"https://api.github.com/users/davidrapson/followers","following_url":"https://api.github.com/users/davidrapson/following{/other_user}","gists_url":"https://api.github.com/users/davidrapson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidrapson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidrapson/subscriptions","organizations_url":"https://api.github.com/users/davidrapson/orgs","repos_url":"https://api.github.com/users/davidrapson/repos","events_url":"https://api.github.com/users/davidrapson/events{/privacy}","received_events_url":"https://api.github.com/users/davidrapson/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T10:46:29Z","updated_at":"2015-03-09T10:46:29Z","body":"@mattandrews Yeah it's OK for JS at the moment, no need to disable them there."}}