Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Add support for dart-sass #274

Closed
nwpappas opened this issue Mar 12, 2019 · 4 comments
Closed

Add support for dart-sass #274

nwpappas opened this issue Mar 12, 2019 · 4 comments

Comments

@nwpappas
Copy link

nwpappas commented Mar 12, 2019

What problem does this feature solve?

Dart Sass is the primary implementation of Sass, which means it gets new features before any other implementation. It would allow for the greatest number of Sass functionality to be used in conjunction with Vue and Rollup.

The Sass project has an open issue on helping projects migrate:
sass/dart-sass#267

What does the proposed API look like?

The API should not change from a user point of view. The means of compiling Sass behind the scenes simply changes.

@znck
Copy link
Member

znck commented Mar 21, 2019

It's an upstream change. vuejs/component-compiler-utils#56

keeping this issue open to track.

@gwardwell
Copy link

@znck It looks like this issue can be closed now, right? I can across it when trying to determine if rollup-plugin-vue supports dart-sass and the Sass module system. After a little confusion, I just tried a sass module in my project and it worked. So this isn't waiting or blocked anymore, right?

@znck
Copy link
Member

znck commented Apr 3, 2020

Yes, dart-sass is already supported.

@znck znck closed this as completed Apr 3, 2020
@funyapu
Copy link

funyapu commented Oct 29, 2020

Hi,

It seems@use statement not working in both SFC and auto import.
Is this matter of upstream?

Replacing @use with @import solves build failure, but do print css multiple times :(

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

No branches or pull requests

4 participants