Fix: Add svg-captcha to server external packages

This commit is contained in:
2026-03-14 00:18:44 -07:00
parent 38cb568faa
commit 751bc370b8

View File

@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'standalone', output: 'standalone',
// This prevents Webpack from bundling svg-captcha and breaking its font paths
serverExternalPackages: ['svg-captcha'],
}; };
export default nextConfig; export default nextConfig;