{"action":"created","issue":{"url":"https://api.github.com/repos/zweilove/css_splitter/issues/58","labels_url":"https://api.github.com/repos/zweilove/css_splitter/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/zweilove/css_splitter/issues/58/comments","events_url":"https://api.github.com/repos/zweilove/css_splitter/issues/58/events","html_url":"https://github.com/zweilove/css_splitter/issues/58","id":117325529,"number":58,"title":"Different splitter output in development and prod","user":{"login":"samisalami","id":15887643,"avatar_url":"https://avatars.githubusercontent.com/u/15887643?v=3","gravatar_id":"","url":"https://api.github.com/users/samisalami","html_url":"https://github.com/samisalami","followers_url":"https://api.github.com/users/samisalami/followers","following_url":"https://api.github.com/users/samisalami/following{/other_user}","gists_url":"https://api.github.com/users/samisalami/gists{/gist_id}","starred_url":"https://api.github.com/users/samisalami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samisalami/subscriptions","organizations_url":"https://api.github.com/users/samisalami/orgs","repos_url":"https://api.github.com/users/samisalami/repos","events_url":"https://api.github.com/users/samisalami/events{/privacy}","received_events_url":"https://api.github.com/users/samisalami/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-17T10:29:26Z","updated_at":"2015-11-18T13:45:08Z","closed_at":null,"body":"Hey there :-)\r\n\r\nFirst of all: Thanks for this gem! I could not believe, that there are actually no solutions for rails assets regarding the selector limitation in IE, except for your gem.\r\nA small thing: To get the gem running we had to implement the helper method manually in our application helper to be available.\r\n\r\nBut now to the real problem:\r\nIn our local environment the splitter works like a charm and splits correctly. But on production the extraction starts with later rules which leads to missing rules on production for internet explorer.\r\nI have no idea what the reason could be and I am hoping to get some input.\r\n\r\nMy first and only idea was that the compression on production might mess up the regular expressions, so I activated compression for development, but the splitting still worked like a charm.\r\nOf cause it could be a problem with our project setup and not the gem itself, but I am really clueless where I could check and try...so I would appreciate any hint :-)\r\n\r\nThanks and Cheers from Hamburg ;-)"},"comment":{"url":"https://api.github.com/repos/zweilove/css_splitter/issues/comments/157717281","html_url":"https://github.com/zweilove/css_splitter/issues/58#issuecomment-157717281","issue_url":"https://api.github.com/repos/zweilove/css_splitter/issues/58","id":157717281,"user":{"login":"samisalami","id":15887643,"avatar_url":"https://avatars.githubusercontent.com/u/15887643?v=3","gravatar_id":"","url":"https://api.github.com/users/samisalami","html_url":"https://github.com/samisalami","followers_url":"https://api.github.com/users/samisalami/followers","following_url":"https://api.github.com/users/samisalami/following{/other_user}","gists_url":"https://api.github.com/users/samisalami/gists{/gist_id}","starred_url":"https://api.github.com/users/samisalami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samisalami/subscriptions","organizations_url":"https://api.github.com/users/samisalami/orgs","repos_url":"https://api.github.com/users/samisalami/repos","events_url":"https://api.github.com/users/samisalami/events{/privacy}","received_events_url":"https://api.github.com/users/samisalami/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T13:45:08Z","updated_at":"2015-11-18T13:45:08Z","body":"Hi Jakob :-)\r\n\r\nThanks for the answer and yeah I am really trying to. But I am not that experienced with ruby and rails and I am searching really just for hints where to start.\r\n\r\nToday I disabled minifcation on production and now the output of the full css is almost the same on production and development (split 2 still smaller on production than on development):\r\n![2015-11-18_1329](https://cloud.githubusercontent.com/assets/15887643/11241149/83d4de1a-8df8-11e5-864e-d35a22c8c42c.png)\r\n\r\nOnly difference is that on development the closing brace is not in the same line with the rules, beacause of the sass style -> expanded on develop and compressed on production. But this is the default and I tested the regex to strip comments on this and it just works fine with braces in the same line as the comments.\r\n\r\nI will now test the regular expressions further with our css and I am hoping to find maybe something... because this only occurs on our production development I really have no idea how to debug this behaviour (debugging is completely disabled on the production environment and we do not have full access to it).\r\n\r\nI am not expecting you do debug it for me or create a test case, I was just hoping that maybe you had already some ideas or experienced something similar.\r\n\r\nI will update this issue, if I have anything new on it.."}}