Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: webpack copy-webpack-plugin migration problem #8801

Open
KuSh opened this issue Dec 21, 2024 · 0 comments · May be fixed by #8803
Open

[Bug]: webpack copy-webpack-plugin migration problem #8801

KuSh opened this issue Dec 21, 2024 · 0 comments · May be fixed by #8803
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@KuSh
Copy link

KuSh commented Dec 21, 2024

System Info

System:
OS: Linux 6.11 Debian GNU/Linux trixie/sid
CPU: (24) x64 AMD Ryzen 9 7900X 12-Core Processor
Memory: 24.37 GB / 30.49 GB
Container: Yes
Shell: 5.2.37 - /bin/bash
Binaries:
Node: 23.5.0 - ~/.proto/shims/node
npm: 11.0.0 - ~/.proto/shims/npm
pnpm: 9.15.1 - ~/.proto/shims/pnpm
Watchman: 4.9.0 - /usr/bin/watchman
npmPackages:
@rspack/cli: ^1.1.8 => 1.1.8
@rspack/core: ^1.1.8 => 1.1.8

Details

❯ pnpm build:rspack

> [email protected] build:rspack /home/nlecam/Development/rspack/repro-copy-plugin
> cross-env NODE_ENV=production rspack build

ERROR in × unable to locate '/home/nlecam/Development/rspack/repro-copy-plugin/data/**' glob

ERROR in × unable to locate '/home/nlecam/Development/rspack/repro-copy-plugin/data/**' glob

Rspack compiled with 2 errors in 14 ms
ELIFECYCLE  Command failed with exit code 1.

Reproduce link

https://github.com/KuSh/repro-copy-plugin

Reproduce Steps

running pnpm build:webpack works
running pnpm build:rspack doesn't work

Changing the from attribute value to "**/*" fixes the problem but it was hard to spot

@KuSh KuSh added bug Something isn't working pending triage The issue/PR is currently untouched. labels Dec 21, 2024
@inottn inottn linked a pull request Dec 22, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant