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

copyAsIs on directory with html file still moves html file #191

Open
has-n opened this issue May 13, 2022 · 0 comments
Open

copyAsIs on directory with html file still moves html file #191

has-n opened this issue May 13, 2022 · 0 comments

Comments

@has-n
Copy link

has-n commented May 13, 2022

Describe the bug
If copyAsIs is used for a directory with an html file inside it, the complete directory gets copied - as expected. At the same time, the html file inside the directory is put into the root of dist which is the default behavior - this is unexpected.

To Reproduce
Steps to reproduce the behavior:

  1. create a directory "test" with an html page inside it "page.html"
  2. add this to the build config: copyAsIs: ["test/*"]
  3. note that dist/test contains page.html
  4. there is also a processed version at dist/page.html

Expected behavior
Ignore *.html files when using copyAsIs command

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Chome
  • Version: latest
  • Node.js: latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant