Files
KalBot/next.config.mjs

14 lines
351 B
JavaScript

/** @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;
},
};
export default nextConfig;