Shumiland/next.config.ts
Vadym Samoilenko 3226789bd1
Some checks are pending
CI / Type Check (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Unit Tests (push) Waiting to run
Deploy / Build & Push Image (push) Waiting to run
Deploy / Deploy to VPS (push) Blocked by required conditions
feat: refactor frontend components and add PageHero
Refactored slider components (Gallery, Locations), Hero section with data-driven approach, WhyParents layout, and frontend page layouts. Added PageHero reusable component and ignored debug screenshots/playwright runtime in .gitignore.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 18:41:46 +01:00

31 lines
673 B
TypeScript

import { withPayload } from '@payloadcms/next/withPayload'
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
output: 'standalone',
reactStrictMode: true,
webpack: (config) => {
config.watchOptions = {
...config.watchOptions,
ignored: /node_modules|importMap\.js|\.next/,
}
return config
},
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
port: '3000',
pathname: '/media/**',
},
{
protocol: 'https',
hostname: 'shumiland.com.ua',
pathname: '/media/**',
},
],
},
}
export default withPayload(nextConfig)