cleydyr / dart-sass-maven-plugin

A Maven plugin that allows to compile SASS using Dart Sass
MIT License
15 stars 9 forks source link

Support Linux OSes not built with glibc #36

Closed cleydyr closed 8 months ago

cleydyr commented 8 months ago

Dart Sass has released Sass packages compatible with Linux OSes not built with glibc (Alpine, for example.) Since version 1.69.6. See https://github.com/sass/dart-sass/issues/2148 and https://github.com/sass/dart-sass/issues/1924.

This issue tracks adding an optional plugin flag to download the musl Sass release for Linux instead of the glibc (i.e., the regular) one.

cleydyr commented 8 months ago

Depends on https://github.com/sass/dart-sass/issues/2174 for testing.

cleydyr commented 8 months ago

I think adding a new (pseudo) OSlinux-musl is better to avoid the risk of users mistakenly setting a flag for operating systems other than Linux. That also dispenses with cascading internal changes (a new parameter and a new constructor and field for DartSassReleaseParameter) to support the flag.

cleydyr commented 8 months ago

Included in v1.3.0. Closing this issue.