html.crossorigin

    • Type: boolean | 'anonymous' | 'use-credentials'
    • Default: false

    Set the crossorigin attribute of the <script> and <style> tags.

    INFO

    The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - html.crossorigin.