Open SatarisGIT opened 5 years ago
Hello!
I have problem with newest version of this loader.
Loader working great, but dont generate "export default locals;" string.
export interface IMonitoringHeaderModuleScss { 'header': string; 'header__header_element': string; 'headerHeaderElement': string; 'header__header_element--modifier': string; 'headerHeaderElementModifier': string; }
export const locals: IMonitoringHeaderModuleScss;`
So I cant use any styles from it beacuse my styles when I import them
import styles from './MonitoringHeader.module.scss';
lands DIRECTLY in "styles" object, not "styles.locals"...
I dont like namedExport with camelCase - generated names look really bad with BEM convention.
Same here +1
+1
Yep, I am having this issue too. I will try downgrading and seeing if that resolves issue.
Hello!
I have problem with newest version of this loader.
Loader working great, but dont generate "export default locals;" string.
export const locals: IMonitoringHeaderModuleScss;`
So I cant use any styles from it beacuse my styles when I import them
import styles from './MonitoringHeader.module.scss';
lands DIRECTLY in "styles" object, not "styles.locals"...
I dont like namedExport with camelCase - generated names look really bad with BEM convention.