jedfoster / SassMeister

The Sass playground
http://sassmeister.com
198 stars 25 forks source link

Add Dart Sass support #192

Closed nex3 closed 6 years ago

nex3 commented 6 years ago

Dart Sass is going to be the reference implementation of Sass moving forward, and so should probably be supported by SassMeister. Let me know if you need any help getting it up and running.

jedfoster commented 6 years ago

Again, apologies, just now seeing this.

I will do what I can to spin up a Dart compiler. I know nothing about Dart, so I expect a learning curve. Fortunately, I am about to be unemployed and should have some extra free time on my hands. So yay! (??)

xzyfer commented 6 years ago

The easiest way may be to use the node package? npm install dart-sass. It should have the same API as node-sass.

jedfoster commented 6 years ago

Oooohhh. Very good to know. That should make things much easier.

I assume that the Sass team would prefer Dart Sass be the default flavor on SassMeister? (The default is currently LibSass.)

nex3 commented 6 years ago

I assume that the Sass team would prefer Dart Sass be the default flavor on SassMeister? (The default is currently LibSass.)

Yeah, it's generally going to be at the front of the curve in terms of feature work.

jedfoster commented 6 years ago

@nex3 I ran into dart-sass/issues/284. In lieu of dart-sass/pull/303, I've patched my code to make import paths absolute within the app.

I'll have Dart Sass live on the app shortly.