Is there a way to ignore folder with search project command leader s p?

In a Clojure project, I tried searching a word in the whole project but it also search in node_modules which makes the search kinda useless.