How to make package.json copy a regular file with copyFiles?

Trying to move a file called menu.html that lives next to index.html like so doesn’t work:

    {
      "from": "menu.html",
      "to": "dist/"
    }

Original Post on Discord

by user 103054507105067008

Hey, that’s using this package copy-files-from-to - npm - should be documented there

Thanks, I had to do

    {
      "from": "menu.html",
      "to": "dist/menu.html"
    }

by user 103054507105067008