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
635 stars 67 forks source link

Update to dart-sass #223

Open coolemur opened 8 months ago

coolemur commented 8 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 5 months ago

the following works for me.

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