Skip to content
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

@import css file doesn't work anymore #363

Closed
chamnap opened this issue Feb 6, 2016 · 3 comments
Closed

@import css file doesn't work anymore #363

chamnap opened this issue Feb 6, 2016 · 3 comments

Comments

@chamnap
Copy link

chamnap commented Feb 6, 2016

I'm using the @import statement with pure .css file with version 5.0.4 of sass-rails with 2.3.3 of sprockets-rails. It works pretty well.

However, when i upgrade to 3.0.1 of sprockets-rails, it stops working:

Sass::SyntaxError: File to import not found or unreadable: hello.

I'm not so sure, this is a problem of sprockets-rails or sass-rails.

Thanks.

@rafaelfranca
Copy link
Member

Can you please provide a sample application that reproduces the error?

@wenderjean
Copy link

I had the same error using version 5.0.0 of sass-rails, when I updated to 5.0.4 it works.

@stepheneb
Copy link

I'm having a possibly related problem using Ruby 2.4.1 and Rails 5.1.0.rc1.

see: rails/rails#28628

Summary: sass @import statements in application.scss appear to be ignored, instead scss files are loaded in alphabetic order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants