You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated types are not removed when the .css module no longer exists #40
Activity
CoderSerio commentedon Oct 30, 2026
I notice that typed-scss-modules already removes the generated declaration when a source file is deleted in watch mode:
Could we do something similar here, and also clean up leftover declarations when a build starts 🤔?
For example, with a new
cleanoption:This would only remove files generated by this plugin whose source files no longer exist.
If you think this makes sense, I'd like to implement it.
chenjiahan commentedon Oct 30, 2026
PR welcome!
CoderSerio commentedon Oct 31, 2026
😊 ok, I've opened #94 to address this