Closed pasqualevitiello closed 6 years ago
Let's say I want to exclude a specific directory: I've tried with an array like this --src ['**/*.php', '!dist/**/*.php'] as suggested on wp-pot docs but no success. Any advice?
--src ['**/*.php', '!dist/**/*.php']
Hi,
If you add the glob as a string, and escape ! it will work. Example: ./cli.js --src="['**/*.php', '\!dist/**/*.php']"
!
./cli.js --src="['**/*.php', '\!dist/**/*.php']"
Let's say I want to exclude a specific directory: I've tried with an array like this
--src ['**/*.php', '!dist/**/*.php']
as suggested on wp-pot docs but no success. Any advice?