mirror of https://github.com/sveltejs/svelte
tests: validator: add support for customElement compile option + test cases (#4133)
parent
abe88f3b3a
commit
6b5a4870df
@ -0,0 +1 @@
|
||||
<svelte:options tag="custom-element"/>
|
@ -0,0 +1,15 @@
|
||||
[{
|
||||
"code": "missing-custom-element-compile-options",
|
||||
"message": "The 'tag' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 16,
|
||||
"character": 16
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 36,
|
||||
"character": 36
|
||||
},
|
||||
"pos": 16
|
||||
}]
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
customElement: true
|
||||
};
|
@ -0,0 +1 @@
|
||||
<svelte:options tag="custom-element"/>
|
Loading…
Reference in new issue