jeffemmett-website-redesign/next.config.mjs

27 lines
525 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
},
async redirects() {
return [
{
source: '/presentations',
destination: 'https://slides.jeffemmett.com',
permanent: true,
},
{
source: '/presentations/:path*',
destination: 'https://slides.jeffemmett.com/:path*',
permanent: true,
},
]
},
}
export default nextConfig