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
Ability to use modules: 'pure', a very-desirable CSS Modules mode.
Feature Use Case
Defining global CSS using CSS Modules is arguably incorrect behavior, which modules: true / modules: 'local' allows.
The underlying postcss-modules-local-by-default library has a more desirable mode called pure, which only allows a :global selector when combined with :local.
This ensures users are not defining global effects within a CSS Modules file.
The text was updated successfully, but these errors were encountered:
3.2.0
Feature Proposal
Ability to use
modules: 'pure'
, a very-desirable CSS Modules mode.Feature Use Case
Defining global CSS using CSS Modules is arguably incorrect behavior, which
modules: true
/modules: 'local'
allows.The underlying
postcss-modules-local-by-default
library has a more desirable mode calledpure
, which only allows a:global
selector when combined with:local
.This ensures users are not defining global effects within a CSS Modules file.
The text was updated successfully, but these errors were encountered: