mirror of
https://github.com/imputnet/cobalt.git
synced 2026-08-27 04:05:22 +00:00
web/svelte: drop svelte:component when stripping announcer
This commit is contained in:
parent
6b11e49d4a
commit
8b9d63fdac
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ const config = {
|
|||
markup: ({ content: code }) => {
|
||||
code = code.replace(
|
||||
/<div id="svelte-announcer" [\s\S]*?<\/div>/,
|
||||
'<svelte:component this={null} />'
|
||||
'{null}'
|
||||
);
|
||||
|
||||
return { code }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue