Closed kitwalker12 closed 10 years ago
I would think this might be caused by the known limitation mentionend in the README: https://github.com/zweilove/css_splitter#limitations--known-issues
I would certainly be open for any pull requests that fix this issue. The first step would be to build a test case that recreates the exact issue, so there is a solid path for fixing it.
Looks like there might already be a solution out there #26 Can you try if this works for you?
I tried the solution to #26 but it didn't work. it still failed with
Invalid CSS after "@charset "UTF-8"; ": expected selector or at-rule, was "}"
Can you provide your source stylesheets or better yet create a failing test case in the gem's testing dummy rails app?
@kitwalker12 could you try again, after #35 has been merged to master?
Thanks. The issue is fixed.
Updated to 3.4.9 sass gem helped me at this!
I have the following setup:
production.rb
_applicationsplit2.css.split2
application.css.scss
I'm having issues with precompiling on heroku. One of the files in application.css.scss has @media queries which fail to parse with the error:
If I merge this file's css to another file's media query (essentially having the media query in one place instead of 2) fixes the parse error.
How can I fix this issue, as I want to have the media query in separate locations for separate modules?
P.S: This gem has been great for fixing IE issues and thanks for an awesome job