Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

No default export, problem with export locals - can't use full classNames #87

@SatarisGIT

Description

@SatarisGIT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions