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

@use rule doesn't compile #42

Closed
stefanloerwald opened this issue Jul 23, 2020 · 6 comments
Closed

@use rule doesn't compile #42

stefanloerwald opened this issue Jul 23, 2020 · 6 comments

Comments

@stefanloerwald
Copy link

Hi,

it seems to me that @use rules aren't correctly compiled:

foo.scss:

body {
    color: green;
}

bar.scss:

@use "foo";

I would expect the result to be

bar.css:

body {
    color: green;
}

However, I get

@use "foo";

Am I doing something wrong or is this a bug? I'm using version 1.3.1.

@stefanloerwald
Copy link
Author

Seems like this is actually simply not implemented in libsass. I filed a bug report with them: sass/libsass#3121

@Taritsyn
Copy link
Owner

Hello, Stefan!

We just have to wait until this feature is implemented in the LibSass library.

@TristanPct
Copy link

It seems that this will never be added to LibSass: sass/libsass#2807 (comment)
LibSass is now deprecated in favour of dart-sass .

@stefanloerwald
Copy link
Author

Thanks @TristanPct, I didn't see that news yet. Time to move on...

@Taritsyn
Copy link
Owner

Taritsyn commented Nov 3, 2020

It seems that this will never be added to LibSass: …

Sometime in early September, I started working on creating a .NET wrapper around the Dart Sass. This library is not ready yet, but today I decided to publish interim results of work in order to reassure users of the LibSass Host library.

When work is finished, I will inform you about it.

@Taritsyn
Copy link
Owner

Dart Sass Host 1.0.0 Preview 1 has been released.

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

3 participants