Files
kspguti-schedule/next.config.js
2025-11-24 02:40:02 +04:00

21 lines
488 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
generateEtags: false,
allowedDevOrigins: ['192.168.1.10'],
webpack: (config, { isServer }) => {
// Исключаем fs и path из клиентской сборки
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
path: false,
}
}
return config
},
}
module.exports = nextConfig