mirror of https://github.com/sveltejs/svelte
fix: blank CSS contents while migrating (#13403)
Blank CSS, could contain SCSS or similar that needs a preprocessor. Since we don't care about CSS in this migration, we'll just ignore it.pull/13408/head
parent
9627426f7f
commit
505e8caa23
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: blank CSS contents while migrating
|
@ -0,0 +1,15 @@
|
||||
<script>
|
||||
export let name;
|
||||
</script>
|
||||
|
||||
<div>{name}</div>
|
||||
|
||||
<style lang="scss">
|
||||
$font-stack: Helvetica, sans-serif;
|
||||
$primary-color: #333;
|
||||
|
||||
body {
|
||||
font: 100% $font-stack;
|
||||
color: $primary-color;
|
||||
}
|
||||
</style>
|
@ -0,0 +1,16 @@
|
||||
<script>
|
||||
/** @type {{name: any}} */
|
||||
let { name } = $props();
|
||||
</script>
|
||||
|
||||
<div>{name}</div>
|
||||
|
||||
<style lang="scss">
|
||||
$font-stack: Helvetica, sans-serif;
|
||||
$primary-color: #333;
|
||||
|
||||
body {
|
||||
font: 100% $font-stack;
|
||||
color: $primary-color;
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue