trunk
trunk copied to clipboard
feature request: css-modules support
For example, vite support css modules.
import classes from './example.module.css'
document.getElementById('foo').className = classes.red
I think it will be great if trunk can support this, also.
Are you using Yew or a front end library alongside Trunk? There's many solutions (most immature) for CSS, but the one I recommend most is Stylist.
I'm using Yew now.
Stylist and front end CSS solutions should be the go to, in my opinion. Pushing this onto Trunk seems like the wrong place? I'm open to different opinions.