#178

fix: fix local dev could not reolve codegen-registry.ts

Opennomorechokedboywants to merge intofrom

pnpm discover-plugins generates empty registries on Linux/local dev due to tsconfig path alias not resolving in CJS dynamic imports

Root cause summary:

  • scripts/ has no "type": "module", so tsx runs discover-plugins.ts in CJS modeIn CJS mode, runtime await import("@/plugins/registry") bypasses tx's path alias transform
  • This creates a separate module instance from the one plugins register into via ../registryResult: getAllIntegrations() returns [], all generated files have 0 entries, and lib/codegen-registry.ts is never written breaking pnpm dev with Could not resolve "../../../lib/codegen-registry" #126

Activity

2
D
edca646
vercel[bot]8mo ago

@nomorechokedboy is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.