mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 23:46:58 +00:00
35 lines
752 B
JavaScript
35 lines
752 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: [
|
|
{ hostname: "picsum.photos" },
|
|
{ hostname: "storage.googleapis.com" },
|
|
{
|
|
protocol: "https",
|
|
hostname: "cdn.shopify.com",
|
|
pathname: "/s/files/**"
|
|
},
|
|
{
|
|
hostname: "**.cf3.rackcdn.com",
|
|
protocol: "https",
|
|
port: "",
|
|
pathname: "/*"
|
|
}
|
|
]
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/password",
|
|
destination: "/",
|
|
permanent: true
|
|
}
|
|
];
|
|
}
|
|
};
|