Spaces:
Sleeping
Sleeping
| /** @type {import('next').NextConfig} */ | |
| const nextConfig = { | |
| output: 'standalone', | |
| experimental: { | |
| serverComponentsExternalPackages: ['socket.io-client'], | |
| }, | |
| webpack: (config) => { | |
| config.externals.push({ | |
| 'utf-8-validate': 'commonjs utf-8-validate', | |
| 'bufferutil': 'commonjs bufferutil', | |
| }) | |
| return config | |
| }, | |
| } | |
| module.exports = nextConfig |