Skip to content

Support "Pure" scope as in CSS-loader #106

Description

@StarpTech

As titled. https://github.com/webpack-contrib/css-loader#scope

This would allow to have real "No global scope." for CSS modules.

Example:

Syntax error: Selector ":global .page" is not pure (pure selectors must contain at least one local class or id)

  17 |   pointer-events: none;
  18 | }
> 19 | :global .page {
     |                                             ^
  20 |   width: 4px;
  21 | }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions