With the attached file, the .htaccess file is not copied when running production builds with 3.5.9 Needle engine, this used to work before. I know during updates we needed to remove the copyfiles line from the build commands at the top. Is that connected?
It’s my bad when you said copyfiles wasn’t needed anymore in that build command list, I assumed it was moved elsewhere or happened automatically. I’ll make sure to put it back and check it runs good which it should
I’ll give the new ‘copy’ a try by replacing the old copy-files, I assume the format is the same anyway when writing up the array of files for it to copy?
That’s it, then I guess if I want a file in a subfolder to be copied to a specific directory how do I do that? e.g. coolfoldername/.htaccess to the same folder name without copying everything else in that folder?
You can use anything as you see fit. The copy-files npm package is good at, well, copying files with some configuration. If you find another one that suits your case better you can use that. Your choice
Exactly, just add the additional file .htaccess file to the copy-from-to script then, I think it has options for configuring the source and target paths