-
-
Notifications
You must be signed in to change notification settings - Fork 781
Closed
Labels
bugSomething isn't workingSomething isn't workingpending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.
Description
System Info
Mac os
Details
There appears to be a bug in Rspack's CopyPlugin where it does not properly handle patterns that specify a single file. This functionality is supported in webpack's CopyWebpackPlugin, but it seems to be missing or not working as expected in Rspack.
Reproduce link
No response
Reproduce Steps
- Configure CopyPlugin in Rspack config
- Attempt to copy a specific file using a pattern
{
from: '/xx/xx.ts'
}But /xx/xx.ts* is working
Expected Behavior:
The plugin should be able to copy a single, specific file when the pattern points to that file.
Actual Behavior:
The plugin fails to copy the file or throws an error (please specify the exact behavior you're seeing).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.