We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System: OS: macOS 14.6.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 154.31 MB / 16.00 GB Shell: 5.9 - /bin/zsh Browsers: Chrome: 131.0.6778.109 Safari: 17.6
When starting the example of output.copy in dev mode, I found that Rsbuild ran twice.
output.copy
But if I modify the code { from: './src/assets' } to { from: 'src/assets' }, Rsbuild will run correctly.
{ from: './src/assets' }
{ from: 'src/assets' }
The problem may be caused by rspack.CopyRspackPlugin. Because Rspack has the same problem in dev mode.
rspack.CopyRspackPlugin
https://rsbuild.dev/config/output/copy#example
// rsbuild.config.js export default { output: { copy: [ { from: './src/assets' }, ], }, };
npm run dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
Details
When starting the example of
output.copy
in dev mode, I found that Rsbuild ran twice.But if I modify the code
{ from: './src/assets' }
to{ from: 'src/assets' }
, Rsbuild will run correctly.The problem may be caused by
rspack.CopyRspackPlugin
. Because Rspack has the same problem in dev mode.Reproduce link
https://rsbuild.dev/config/output/copy#example
Reproduce Steps
npm run dev
.The text was updated successfully, but these errors were encountered: