mirror of https://github.com/sveltejs/svelte
fix: don't blank css on migration error (#13703)
parent
c73c683ecd
commit
e43176906f
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: don't blank css on migration error
|
@ -0,0 +1,11 @@
|
|||||||
|
<script>
|
||||||
|
export let error = true;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{$$props}
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
div{
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,12 @@
|
|||||||
|
<!-- @migration-task Error while migrating Svelte code: $$props is used together with named props in a way that cannot be automatically migrated. -->
|
||||||
|
<script>
|
||||||
|
export let error = true;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{$$props}
|
||||||
|
|
||||||
|
<style lang="postcss">
|
||||||
|
div{
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue