connorskees / grass

A Sass compiler written purely in Rust
https://docs.rs/grass/
MIT License
499 stars 38 forks source link

Will you add commonjs support in the npm package `@connorskees/grass`? #74

Open Priestch opened 1 year ago

Priestch commented 1 year ago

I try to replace node-sass in a project, but found only the ES module is supported, will you consider supporting this?

connorskees commented 1 year ago

I am open to supporting this, but I will likely not implement anything myself until I have a usecase for it.

I'm not aware of any benefits to using grass as a replacement for node-sass compared to the official sass package. I have not benchmarked a potential implementation of a node package using FFI, and I am not interested in maintaining a node API.

Is there a reason you would like commonjs to be supported, other than potential performance gains?

Priestch commented 1 year ago

All I want are the potential performance gains.