Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Trouble using @import with css files #166 #251

Closed
aedenj opened this issue Mar 9, 2014 · 2 comments · Fixed by #255
Closed

Trouble using @import with css files #166 #251

aedenj opened this issue Mar 9, 2014 · 2 comments · Fixed by #255

Comments

@aedenj
Copy link

aedenj commented Mar 9, 2014

When I use the @import directive to include a css file within my application.css.scss file I get the message

500 source string:2: error: file to import not found or unreadable: "Justified-Gallery/css/jquery.justifiedgallery"

However, if I change the extension of the above file name from .css to .scss the file is found and works correctly. What am I doing wrong?

This issue seems to have been resolved recently, sass/libsass#208. When is the next release planned?

@eguneys
Copy link

eguneys commented Jul 6, 2014

When i do this

console.log(sass.renderSync({ data: '@import "alksdjf.css";' }));
Output is:
@import url(alksdjf.css);

I want the output to be contents of the css file, how can i do that?

@keithamus
Copy link
Member

@eguneys please file a new issue.

@sass sass locked and limited conversation to collaborators Jul 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants