It would be great to have localsConvention option, it's useful when you have css file with dashes in classes:
.field-error {
color: red;
}
Using this option you can import style classes in js this way:
import css from './styles.scss'
console.log(css.fieldError)
// instead of
console.log(css['field-error'])
Seems like currently there is no way to do this. I've checked source code and it seems postcss-modules package is not used inside so this option can't be passed 😞
It would be great to have localsConvention option, it's useful when you have css file with dashes in classes:
Using this option you can import style classes in js this way:
Seems like currently there is no way to do this. I've checked source code and it seems
postcss-modules
package is not used inside so this option can't be passed 😞