Skip to content

Feat(renderToPipeableStream): Allow passing crossorigin attribute on bootstrapScripts #25989

Closed
@HenriqueLimas

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions