Open
Description
Describe the bug
The entier :global {}
(not :global()
) is dropped.
:global()
works as expected.
Logs
no log.
To Reproduce
Used config:
sveltePreprocess({
sourceMap: true,
});
code:
<style>
:global {
.someGlobalClass {
background-color: red;
}
}
</style>
Expected behavior
output something like this:
.someGlobalClass {
background-color: red;
}
Information about your project:
-
svelte-preprocess
version: 6.0.3 -
Whether your project uses Webpack or Rollup: none