Error: Missing whitespace after :global
See original GitHub issueThis is my style:
Error
.wrap-box {
margin: 15px 0;
:global {
&.box {
.otherClass {
width: 44px;
height: 44px;
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
}
}
}
}
Error message
Module build failed: Missing whitespace after :global (3:3)
How can I fix this issue.
Sorry if the issue is already there but I can not find it.
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
Missing whitespace before :global - css - Stack Overflow
For anyone that is searching the web with no solution to this (scoping bootstrap w/ css modules), I made this work as described...
Read more >Error: Missing whitespace after :global - Bountysource
Error : Missing whitespace after :global. ... This is my style: Error .wrap-box { margin: 15px 0; :global { &.box { .otherClass {...
Read more >Missing whitespace around operator (E225) - Flake8 Rules
There should be one space before and after all operators.
Read more >why does tslint return a "missing whitespace" error for this line ...
why does tslint return a "missing whitespace" error for this line of code? ... if(qs.length > 0) qs += (authorsParams.length > 0 ?...
Read more >Add markup validation for missing whitespace between ...
It is a very difficult visual cue to spot and without IDE support it can be cumbersome to identify the problem. Only the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
any workaround?
I’ve created my React app with
create-react-appv3.0.1and I’m trying to use CSS modules.I want to make the following CSS:
which I think it should output
edit:
I found this workaround: https://github.com/css-modules/css-modules/issues/295#issuecomment-404873976
I want complier from
to