commerce/next.config.js
2023-07-06 10:42:30 +02:00

21 lines
502 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'
}
]
}
};