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
I want to start saying that I love this plugin, and the reason why I end up using tailwind in all of my project is also thanks to this plugin.
However I've noticed that the plugin, while reading custom css classes on css files, will also read all module.css classes, which is not right as a module.css file should be imported and used like:
import styles from '*.module.css'
so that class doesn't really exist if used as a classic css.
I'll provide an example to clarify what I mean because I'm not english so it could be that I've written some incompresible text.
I want to start saying that I love this plugin, and the reason why I end up using tailwind in all of my project is also thanks to this plugin.
However I've noticed that the plugin, while reading custom css classes on css files, will also read all module.css classes, which is not right as a module.css file should be imported and used like:
import styles from '*.module.css'
so that class doesn't really exist if used as a classic css.
I'll provide an example to clarify what I mean because I'm not english so it could be that I've written some incompresible text.
header.module.css
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
<div className="no-scrollbar"></div> // will not trigger a missing class
however the header.module.css is meant to be used as
import styles from './header.module.css';
<div className={styles['no-scrollbar']}></div>
The text was updated successfully, but these errors were encountered: