postcss-modules
postcss-modules copied to clipboard
Nesting support for :global syntax?
Hello!
Write the code as shown below, I want .sample and .samle2 to be global, but it doesn't work.
:global {
.sample {
…
}
.sample2 {
…
}
}
Is this syntax not supported?
I think most tooling besides Webpack doesn't support that syntax. :global(.sample) {} works instead.