skovy / typed-scss-modules

🎁 Generate type definitions (.d.ts) for CSS Modules using SCSS
https://skovy.dev/generating-typescript-definitions-for-css-modules-using-sass/
MIT License
638 stars 67 forks source link

Update to dart-sass #223

Open coolemur opened 9 months ago

coolemur commented 9 months ago

Current Behavior

Running npx typed-scss-modules src throws error: Cannot find module 'node-sass'

node-sass is deprecated. Using deprecated package just for typed-scss-modules to work is wrong

Related to: #140

ImLunaHey commented 6 months ago

the following works for me.

npm install node-sass@npm:sass 
npx typed-scss-modules ./src