mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
26 lines
601 B
JavaScript
26 lines
601 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: {
|
|
formats: ['image/avif', 'image/webp'],
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'medusa-public-images.s3.eu-west-1.amazonaws.com',
|
|
pathname: '/**'
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'medusa-server-testing.s3.amazonaws.com',
|
|
pathname: '/**'
|
|
}
|
|
]
|
|
}
|
|
};
|