commerce/next.config.js
2024-02-15 18:05:26 -05:00

34 lines
674 B
JavaScript

/** @type {import('next').NextConfig} */
module.exports = {
experimental: {
missingSuspenseWithCSRBailout: false
},
eslint: {
// Disabling on production builds because we're running checks on PRs via GitHub Actions.
ignoreDuringBuilds: true
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'cdn.shopify.com',
pathname: '/s/files/**'
},
{
protocol: 'https',
hostname: 'images.unsplash.com',
pathname: '/**'
}
]
},
async redirects() {
return [
{
source: '/password',
destination: '/',
permanent: true
}
];
}
};