output.copy

    • Type:Rspack.CopyRspackPluginOptions | Rspack.CopyRspackPluginOptions['patterns']
    • Default: undefined

    Copies the specified file or directory to the dist directory, implemented based on rspack.CopyRspackPlugin.

    INFO

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