mirror of https://github.com/sveltejs/svelte
fix: `customRenderer` as a global option and remove `without_renderer` (#18359)
Co-authored-by: Rich Harris <rich.harris@vercel.com> Co-authored-by: Rich Harris <hello@rich-harris.dev>pull/18505/head
parent
e5beb7297d
commit
56856f0b10
@ -0,0 +1,3 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({});
|
||||
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"code": "svelte_options_customrenderer_disabled",
|
||||
"message": "`customRenderer` cannot be set in `<svelte:options>` unless the `experimental.customRenderer` compiler option is enabled",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 16
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 43
|
||||
}
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,3 @@
|
||||
<svelte:options customRenderer="./renderer" />
|
||||
|
||||
<div>hello</div>
|
||||
Loading…
Reference in new issue