DelveroffD
Convex Community2y ago
10 replies
Delveroff

A couple of questions about tsconfig

1. What's the reason of excluding the generated folder? We import modules from it anyway, just without autocomplete.
2. How to see the code that's being sent to Convex (queries, actions, etc.). I'm mostly interested in imported "shared" modules.
3. Is it okay to include ../**/*? Of course, excluding node_modules etc.

The motivation for these questions is because I consider moving Convex's tsconfig to the root:
tsconfig.base.json
tsconfig.app.json
tsconfig.convex.json


That way, I could be able to freely share any code. The base config I mentioned above contains most of the options that's common between my App and Convex.
Was this page helpful?