Reputation: 103
I'm using the npm package "copyfiles" in my buildscript. But the target directory is not that what I expected.
"copy-template": "copyfiles \"./src/**/*.html\" \"dist\"",
My base directory structure is:
src/pages/.../htmlfiles
What I want is:
dist/pages/.../htmlfiles
so the same structure as before without "src" In the moment I have always the src directory in my dist folder.
dist/src/pages/../htmlfiles
Maybe you have some hints for me?
Best David
Upvotes: 7
Views: 11419