Refactor: Remove webpack hacks for captcha

This commit is contained in:
2026-03-14 00:29:38 -07:00
parent b2f83a2d0b
commit 7a4b7464df

View File

@@ -1,13 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
webpack: (config, { isServer }) => {
// Force Webpack to leave svg-captcha completely alone on the server
if (isServer) {
config.externals.push('svg-captcha');
}
return config;
},
output: 'standalone'
};
export default nextConfig;