mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
* feat: init commercetools setup --------- Co-authored-by: Anja-Janina Stiefermann <anja.stiefermann@kernpunkt.de>
27 lines
544 B
JavaScript
27 lines
544 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
|
|
},
|
|
images: {
|
|
formats: ["image/avif", "image/webp"],
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "cdn.shopify.com",
|
|
pathname: "/s/files/**"
|
|
}
|
|
]
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/password",
|
|
destination: "/",
|
|
permanent: true
|
|
}
|
|
];
|
|
}
|
|
};
|