mirror of https://github.com/sveltejs/svelte
throw parser error when :global() appears without a selector (#4936)
parent
c21a42edbf
commit
e46e1afea5
@ -0,0 +1,10 @@
|
||||
{
|
||||
"code": "css-syntax-error",
|
||||
"message": ":global() must contain a selector",
|
||||
"start": {
|
||||
"line": 2,
|
||||
"column": 1,
|
||||
"character": 9
|
||||
},
|
||||
"pos": 9
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
<style>
|
||||
:global {}
|
||||
</style>
|
Loading…
Reference in new issue