Frameworks

Custom entry points

Add your own entries for non-standard setups.

When to use this

  • You use a framework larkx doesn't auto-detect yet
  • You have a custom loader that picks up files by convention
  • You generate code at build time and the generator's output should be an entry

Configuration

Add an entryPoints array to .larkx/config.json:

json
{
  "exclude": [".env", "*.key", "secrets/"],
  "entryPoints": [
    "src/workers/",
    "src/migrations/",
    "src/seed.ts"
  ]
}

Matching rules

PatternMatches
src/seed.tsThat exact file
src/workers/Anything inside src/workers (recursive)
src/api/*.handler.tsFiles matching that glob
After editing config.json, re-run larkx deadcode, no reindex needed; reachability is computed at query time.