Skip to content

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

@has-n

Description

@has-n

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions