Can I exclude one or more subdirectories and files under a given theme?
How?
Context:
I base my theme on css generated from less files. The less compiler and files live in /wp-content/themes/mytheme/node_modules and /wp-content/themes/mytheme/less.
There is also a file /wp-content/themes/mytheme/Gruntfile.js that I would like to exclude.
This is on my developer machine.
To actually deploy the site, I figured I could just migrate the site to its online location, albeit prefereably without any development dependencies as exemplified above.
Thanks