marksmccann / node-sass-extra

A drop-in replacement for node-sass' Node API that adds support for globs, promises and more.
MIT License
2 stars 1 forks source link

Support for renderSync #13

Closed marksmccann closed 5 years ago

marksmccann commented 5 years ago

Should we also provided support for synchronous compilation? sassExtra.renderSync({...})

phillipluther commented 5 years ago

Yeah, I'm thinking so - I stubbed this out in the initial working branch thinking it'd be needed for parity if we pursued the "drop in" path. I didn't really explore it but don't think it'd be that hard to pull off; node-sass already supports it, and all the fs-extra methods have sync versions.

I started mulling on some kind of way to manage this without duplicating everything and might pick this up over the weekend.