mirror of https://github.com/sveltejs/svelte
commit
9883a50bf9
@ -0,0 +1,5 @@
|
||||
export default {
|
||||
preprocess: {
|
||||
style: ({ attributes }) => attributes.foo && attributes.foo.includes('=') ? { code: '' } : null
|
||||
}
|
||||
};
|
@ -0,0 +1,3 @@
|
||||
<style foo="bar=baz">
|
||||
foo {}
|
||||
</style>
|
@ -0,0 +1 @@
|
||||
<style foo="bar=baz"></style>
|
Loading…
Reference in new issue