-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different splitter output in development and prod #58
Comments
concerning the inclusion of the helper please take a look at #45 There it has been discussed what needs to be done, just waiting for somebody to champion this. concerning your issue: I fear that, without any further details or preferrably a failing test case, nobody will be able to help out with your issue. Anything you can provide there is appreciated. |
Due to the tight time table I had to switch to a manual solution with multiple SASS files for IE. Because we have variables, mixins, functions and virtual classes strictly seperated from real CSS output, its not a big deal, because these can be included in every single sass file without generating extra output. Of cause we still have one big file for all other browsers. |
@samisalami I could imagine that his issue has to do with what you are seeing: #57 There seems to be a bug with indentatin/whitespace in the reqular expression of the gem |
Same issue here. If I compile |
Okay I managed to fix the output for me. Maybe someone can find out what's causing this because I don't have the time to dig into it right now. I have a CSS file
After removing the comments the
Maybe someone can dig into it and find out what's causing this. |
@danielpuglisi that seems weird to me, because the commented part of Sass should just be removed completely by the compiler. a minimal test case with you code tha reproduces the error would be very helpful for somebody else to to dig into the issue. |
@jhilden forget what I said in the last comment. I can't reproduce it myself now. It seems like removing commented lines randomly generates the correct output for me. No idea what's going on. Removed all the comments and using the code from #57 seems to work. But I wouldn't bet on it. Will keep an eye on this. |
Closing this since #57 has been merged and released |
Hey there :-)
First 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.
A small thing: To get the gem running we had to implement the helper method manually in our application helper to be available.
But now to the real problem:
In 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.
I have no idea what the reason could be and I am hoping to get some input.
My 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.
Of 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 :-)
Thanks and Cheers from Hamburg ;-)
The text was updated successfully, but these errors were encountered: