html.scriptLoading

    • Type: 'defer' | 'blocking' | 'module'
    • Default: 'defer'

    Used to set how <script> tags are loaded.

    INFO

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