extension-cli icon indicating copy to clipboard operation
extension-cli copied to clipboard

copyAsIs on directory with html file still moves html file

Open has-n opened this issue 3 years ago • 0 comments

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

has-n avatar May 13 '22 07:05 has-n