diff --git a/next.config.js b/next.config.js deleted file mode 100644 index af68160..0000000 --- a/next.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - reactStrictMode: true, - images: { - formats: ['image/avif', 'image/webp'], - remotePatterns: [], - }, -}; - -module.exports = nextConfig; diff --git a/next.config.mjs b/next.config.mjs index 5f7a645..3644dba 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,10 +1,11 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, + output: 'standalone', images: { - formats: ['image/webp', 'image/avif'], + formats: ['image/avif', 'image/webp'], + remotePatterns: [], // если нужно — оставляем }, }; export default nextConfig; -