Apologies if I missed it in <https://www.pantsbuil...
# general
s
Apologies if I missed it in https://www.pantsbuild.org/2.20/docs/using-pants/key-concepts/source-roots but can I ignore certain source roots? In javascript its common to put source code in src. Our monorepo has many source roots (essentially project-x/src/project_x) and I'd rather not enumerate all of them. With Javascript I'm thinking of putting it next to python code so project_x/src/widgets and widgets has a src file in it. This probably the wrong way to organize things so no worries if not
c
Think of them as source root patterns. I think “src” is one of the defaults, and should pick up all your src folders in the tree..