CampFireID/next.config.js
2025-03-16 13:03:09 +03:00

20 lines
439 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
output: 'standalone',
experimental: {
serverActions: {
allowedOrigins: ['telegram.org', 't.me'],
},
},
webpack: (config) => {
config.externals.push({
'utf-8-validate': 'commonjs utf-8-validate',
'bufferutil': 'commonjs bufferutil',
});
return config;
},
}
module.exports = nextConfig