Open wildan-m opened 4 years ago
Hi,
I have a folder containing js libraries.
source\libs\autoComplete.js\js\autoComplete.min.js source\libs\autoComplete.js\css\autoComplete.css
How could I filter the files without filtering the folder name?
I've tried this:
ncp' 'source/libs/' 'build/source/libs' --filter="^(.(?!.*\.js$|.*\.json))*$"
But it also filters the folder. The folder source\libs\autoComplete.js\ does not exist in the destination.
source\libs\autoComplete.js\
Thanks
Hi,
I have a folder containing js libraries.
source\libs\autoComplete.js\js\autoComplete.min.js source\libs\autoComplete.js\css\autoComplete.css
How could I filter the files without filtering the folder name?
I've tried this:
ncp' 'source/libs/' 'build/source/libs' --filter="^(.(?!.*\.js$|.*\.json))*$"
But it also filters the folder. The folder
source\libs\autoComplete.js\
does not exist in the destination.Thanks