fix(web): add libsodium-wrappers to serverExternalPackages
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

Missing from standalone output → invite creation crashes with
'Cannot find module libsodium-wrappers' in production.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-04-09 20:34:15 +01:00
parent 64266a75f7
commit 1d506f3ea5

View File

@@ -92,6 +92,7 @@ const config: NextConfig = {
"@payloadcms/ui",
"react-image-crop",
"sharp",
"libsodium-wrappers",
],
turbopack: {
rules: {