mirror of https://github.com/sveltejs/svelte
parent
6928f9492c
commit
50aa595e7e
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
compileOptions: {
|
||||
scopeClass({ hash }) {
|
||||
return `sv-${hash}`;
|
||||
}
|
||||
},
|
||||
};
|
||||
@ -0,0 +1 @@
|
||||
div.sv-bzh57p{color:red}
|
||||
@ -0,0 +1,7 @@
|
||||
<div>red</div>
|
||||
|
||||
<style>
|
||||
div {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in new issue