postcss/sugarss

postcss-import working?

FezVrasta opened this issue · 6 comments

I tried postcss-import with SugarSS and it seems to work just fine. What's up?

ai commented

postcss-import is W3C spec polyfill, so it will not compile SugarSS. You need to take https://github.com/TrySound/postcss-easy-import

ai commented

@TrySound maybe you could help and add postcss-easy-import example to SugarSS docs? :)

No the concern is that postcss-import actually works.

ai commented

¯_(ツ)_/¯

Care to elaborate? 😅

I tried importing a file like this:

// some comments
// here and there
$var1: red
$var2: white

And it compiled just fine.
Logically I also used postcss-simple-vars