ElimE
Convex Community10mo ago
19 replies
Elim

Exclude a folder from automatic API generation in Convex?

I would like to exclude a specific folder from automatic API generation.

Specifically, I want to have a ./helpers/feature folders to store helper functions that should not be treated as API functions. However, since these helpers are used only by convex, I would like to keep them inside rather than moving them outside convex/.

Is there an official way to configure this, like a .convexignore file or some setting in convex.json? It seems like there is a "exclude" array in convex.json but putting my folder path inside the array is not working.
Was this page helpful?