[Bug?]: Solid Start breaks compatibility with some Vite plugins (appending noscript
to body
)
#1547
Closed
2 tasks done
Labels
bug
Something isn't working
Duplicates
Latest version
Current behavior 😯
Vite plugins that append
<noscript>
tag to body prevent Solid Start applications from ever starting.Expected behavior 🤔
Vite plugins that append
<script>
and<noscript>
tags to<body>
should work.Steps to reproduce 🕹
Steps:
vite-plugin-radar
library to the project.Context 🔦
Trying to add Vite plugins that append
noscript
tags tobody
fails with error:The error is caused when a plugin returns a
<noscript>
tag in thetransformIndexHtml()
function, because theassetMap
object does not have thenoscript
key defined.Example:
On top of that, Solid Start doesn't respect the
injectTo
parameter and injects every tag into theheader
tag.Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: