From f09ba6a84fb4e64696d3b1030696365c0e39bcd8 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 6 Mar 2026 19:40:14 +0000 Subject: [PATCH] Switch to version 1: remove next.config.js --- next.config.js | 72 -------------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 next.config.js diff --git a/next.config.js b/next.config.js deleted file mode 100644 index ba5e395..0000000 --- a/next.config.js +++ /dev/null @@ -1,72 +0,0 @@ -/** @type {import('next').NextConfig} */ -const nextConfig = { - images: { - remotePatterns: [ - { - protocol: 'https', - hostname: 'webuild-dev.s3.eu-north-1.amazonaws.com', - pathname: '/**', - }, - { - protocol: 'https', - hostname: '*.cloudinary.com', - pathname: '/**', - }, - { - protocol: 'https', - hostname: 'images.unsplash.com', - pathname: '/**', - }, - ], - unoptimized: false, - formats: ['image/avif', 'image/webp'], - deviceSizes: [320, 420, 640, 768, 1024, 1280, 1536], - imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], - }, - compress: true, - swcMinify: true, - reactStrictMode: true, - poweredByHeader: false, - productionBrowserSourceMaps: false, - experimental: { - optimizePackageImports: [ - '@radix-ui/react-dialog', - '@radix-ui/react-dropdown-menu', - '@radix-ui/react-slider', - 'lucide-react', - ], - }, - headers: async () => [ - { - source: '/:path*', - headers: [ - { - key: 'X-DNS-Prefetch-Control', - value: 'on', - }, - { - key: 'X-Frame-Options', - value: 'SAMEORIGIN', - }, - { - key: 'X-Content-Type-Options', - value: 'nosniff', - }, - { - key: 'X-XSS-Protection', - value: '1; mode=block', - }, - { - key: 'Referrer-Policy', - value: 'strict-origin-when-cross-origin', - }, - { - key: 'Permissions-Policy', - value: 'geolocation=(), microphone=(), camera=()', - }, - ], - }, - ], -}; - -module.exports = nextConfig; \ No newline at end of file