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
It seems the --copy-files option does not copy over the non-compilable files, as described in the help.
--copy-files
-D, --copy-files When compiling a directory copy over non-compilable files
I have the following folder structure:
├── src │ ├── index.ts │ └── message.txt
To build it, I run the following command:
yarn swc src -d build --copy-files
The resulting build does not include the message.txt.
message.txt
├── build │ └── index.js
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
It seems the
--copy-files
option does not copy over the non-compilable files, as described in the help.Reproduction
I have the following folder structure:
To build it, I run the following command:
The resulting build does not include the
message.txt
.Versions
The text was updated successfully, but these errors were encountered: