20 lines
439 B
JavaScript
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
|