CopyPluginOptions | CopyPluginOptions['patterns']undefinedCopies the specified file or directory to the dist directory, implemented based on rspack.CopyRspackPlugin.
Please refer to the configuration options here: rspack.CopyRspackPlugin.
Copy files from ./src/assets to the ./dist directory:
Copy files from ./src/assets to the ./dist/assets directory: