Open kilmc opened 3 years ago
Hmm, no one seems to answer but I need this functionality too. Can you please share your solution in a PR?
I created a copy of this module to test how the move could be done. It is really just replacing
import sass from 'node-sass';
by
import sass from 'sass';
as the options interface is compatible. Now only the author of this package needs to answer.
As I needed to make some progress here I took the task of resolving this issue.
Created a fork https://github.com/ViRuSTriNiTy/rollup-plugin-lit-sass from this repo, applied the commits linked above, created a PR from these commits and published the repo as a new package https://www.npmjs.com/package/@j1shin/rollup-plugin-lit-sass to the public npm registry.
Now it would be nice to get the PR merged so that my fork is not necessary anymore.
I was hoping to use this plugin for a project I'm working on but I'm using some newer sass features like
@use
which are not supported bylibsass
or in turnnode-sass
as both projects have been slow to adopt new sass features. The sass team wrote a blog post in October of last year sayinglibsass
and other sass implementations that were built on top of it were deprecated. Their recommendation moving forward is to usedart-sass
.Here's the blog post but the TL;DR is
I'm happy to make a PR for this but wasn't sure what way you like folks contributing to your project so I thought I'd post an issue first to see.
Thanks