You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CSS now has pretty wide support for @layer/layer(). However Svelte chokes on @import statements assigned to a particular layer.
@importurl("bootstrap.css") layer(framework);
You can work around by putting the styles in a CSS file then import that file instead, but this only works if you do not preprocess your code to inline CSS brought in via @import or by using JS imports.
Describe the bug
CSS now has pretty wide support for
@layer
/layer(). However Svelte chokes on@import
statements assigned to a particular layer.You can work around by putting the styles in a CSS file then import that file instead, but this only works if you do not preprocess your code to inline CSS brought in via
@import
or by using JS imports.Reproduction
https://svelte.dev/repl/0bf3cf34781c4dfa8968cdba3fc1644d?version=3.59.1
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: