theme
theme copied to clipboard
replace deprecated node-sass with dart sass
As node-sass is deprecated and it does not work on arm64 (Apple M1), I fix this by using dart sass.
Hey @wxw-matt how did you replace node-sass by dart sass
Does it work with node 18 if you just change that? Have you test it? Does it work for you? @wxw-matt
Does it work with node 18 if you just change that? Have you test it? Does it work for you? @wxw-matt
Hi @virgin71 , I haven't tested it. It should work according to description:
Node.js Compatibility We consider dropping support for a given version of Node.js to be a breaking change as long as that version is still supported by Node.js. This means that releases listed as Current, Active LTS, or Maintenance LTS according to the Node.js release page. Once a Node.js version is out of LTS, Dart Sass considers itself free to break support if necessary.
https://github.com/sass/dart-sass
Yeah, but adding that one only, will break other dependences.
Yeah, but adding that one only, will break other dependences.
True, sometimes it happens. Have to fix it one by one.