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

Can't import a .sass module from an .scss module #73

Closed
jcreamer898 opened this issue Mar 31, 2015 · 2 comments
Closed

Can't import a .sass module from an .scss module #73

jcreamer898 opened this issue Mar 31, 2015 · 2 comments

Comments

@jcreamer898
Copy link

Because of...

https://github.com/jtangelder/sass-loader/blob/master/index.js#L128

I cannot import a .sass module within an .scss module.

I have something like this...

// main.scss
@import "_vars";

.element { color: $color; }
// some/where/else/_vars.sass
$color: "red"
@jhnns
Copy link
Member

jhnns commented Apr 1, 2015

Would it be possible if we didn't set the option? How is node-sass supposed to know, which syntax is used?

@jhnns
Copy link
Member

jhnns commented May 15, 2015

Shipped with v1.0.2.

Importing a file with the other language style requires the extension to be set explicitly.

@jhnns jhnns closed this as completed May 15, 2015
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

2 participants