mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-21 15:47:06 +02:00
web/svelte: drop svelte:component when stripping announcer
This commit is contained in:
parent
6b11e49d4a
commit
8b9d63fdac
@ -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…
x
Reference in New Issue
Block a user