We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce53bd6 commit 68f71c9Copy full SHA for 68f71c9
packages/svelte/src/compiler/migrate/index.js
@@ -47,7 +47,7 @@ function migrate_css(state) {
47
48
// since we already blank css we can't work directly on `state.str` so we will create a copy that we can update
49
const str = new MagicString(code);
50
- while (!code.startsWith('</style>') && !!code.trim()) {
+ while (code) {
51
if (
52
code.startsWith(':has') ||
53
code.startsWith(':not') ||
0 commit comments