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

Nesting from example not working with postcss #93

Open
Defite opened this issue Jul 10, 2019 · 0 comments
Open

Nesting from example not working with postcss #93

Defite opened this issue Jul 10, 2019 · 0 comments

Comments

@Defite
Copy link

Defite commented Jul 10, 2019

Latest version of typings-for-css-modules-loader, trying example:

.some-class {
  margin-left: 10px;

  &_modify {
    color: orange
  }
}

In typings I got:

export const someClass: string;

but there is no line like:

export const someClassModify: string;

In my component I use it like:

<SomeComponent className={styles.someClassModify}>

Is it supposed to work / not work this way?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant