mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
30 lines
644 B
JavaScript
30 lines
644 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
eslint: {
|
|
// Disabling on production builds because we're running checks on PRs via GitHub Actions.
|
|
ignoreDuringBuilds: true
|
|
},
|
|
experimental: {
|
|
serverActions: true
|
|
},
|
|
images: {
|
|
// also other fromats like jpg, jpeg, png are working without adding them here
|
|
formats: ['image/avif', 'image/webp'],
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.shopware.store'
|
|
}
|
|
]
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/password',
|
|
destination: '/',
|
|
permanent: true
|
|
}
|
|
];
|
|
}
|
|
};
|