We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
global
It is not currently possible to define global classes as named exports when using css modules.
Defining global classes requires wrapping the default export in a :global scope block.
:global
export default { ':global': { '.app': { ... }, }, };
A global flag on the module or on each class would be parsed by the loader and the global scope would be created automatically.
On the module:
export const _global = true; export const app = { ... };
On the class:
export const app = { _global: true, ... };
Or as scope:
scope
export const _scope = 'global'; export const app = { ... };
export const app = { _scope: `global`, ... };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is not currently possible to define global classes as named exports when using css modules.
Defining global classes requires wrapping the default export in a
:global
scope block.A
global
flag on the module or on each class would be parsed by the loader and the global scope would be created automatically.On the module:
On the class:
Or as
scope
:The text was updated successfully, but these errors were encountered: