Alias ALL turbopack content-hashed externals, not just prisma

Fixkamo-analytics
Shipped
July 7, 2026 at 11:58 PM UTC
Author
Kamo
Commit
4b07a91

The prior fix only aliased @prisma/client-<hash>; the build also externalizes pg-<hash> (node-postgres, via @prisma/adapter-pg) under the same content-hashed scheme, which the runner's re-resolved pnpm store likewise leaves dangling — `Cannot find package 'pg-<hash>'` still 500s every DB route. Generalize the alias step to link every <pkg>-<16hex> external the Next build references back to its real installed package, and assert each alias resolves at build time.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing