-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js.bak
More file actions
28 lines (27 loc) · 812 Bytes
/
next.config.js.bak
File metadata and controls
28 lines (27 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
unoptimized: true,
domains: ['apcllc.co'],
},
// Netlify specific settings
trailingSlash: false,
env: {
NEXT_PUBLIC_BASE_URL: process.env.NEXT_PUBLIC_BASE_URL || 'https://apcllc.co',
RESEND_API_KEY: process.env.RESEND_API_KEY || 're_QQwPHVih_BPqM2kAD4LZ7xEGyuPequ6bA',
},
// SWC minification is enabled by default in Next.js 13+
webpack: (config) => {
return config;
},
// Disable type checking and linting during build - CRITICAL for Netlify
typescript: {
// This completely disables TypeScript checking during build
ignoreBuildErrors: true,
},
eslint: {
// This completely disables ESLint checking during build
ignoreDuringBuilds: true,
},
};
module.exports = nextConfig;