Feat(renderToPipeableStream): Allow passing crossorigin attribute on bootstrapScripts #25989
Closed
Description
When using window.onerror
in the bootstrap script that is hosted in a CDN the error message will show "Script error."
instead of a proper error message. This is because of the cross-origin script. To fix this issue a crossorigin="anonymous"
attribute needs to be added in the script tag.
Currently, bootstrapScripts
supports src
and integrity
as configurations, should it also supports a crossorigin
property?
Metadata
Assignees
Labels
No labels