vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

How to exclude a dir but still deploy some dir/files under it?

Open kailiu42 opened this issue 7 years ago • 3 comments

Say for example, I would like to exclude the node_modules directory, so I put this in the exlucde list: node_modules/**.

But I still want to deploy a specific dir in it, for example node_modules/a-hypothetical-package. I tried to use the ! operatior of glob pattern like this !node_modules/a-hypothetical-package/** or !(node_modules/a-hypothetical-package/**) in exclude, it doesn't work. I tried to put the node_modules/a-hypothetical-package/** pattern in files list, it doesn't work either.

kailiu42 avatar Jul 27 '17 10:07 kailiu42

@kraml did you figure this out?

jmorrisIII avatar Oct 16 '17 14:10 jmorrisIII

No ...

kailiu42 avatar Oct 17 '17 10:10 kailiu42

Bummer.

jmorrisIII avatar Oct 17 '17 11:10 jmorrisIII