You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.3 KiB
72 lines
1.3 KiB
/** @type {import('next').NextConfig} */
|
|
const { i18n } = require("./next-i18next.config");
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
typescript: {
|
|
// !! WARN !!
|
|
// Dangerously allow production builds to successfully complete even if
|
|
// your project has type errors.
|
|
// !! WARN !!
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: false,
|
|
},
|
|
i18n,
|
|
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.pexels.com",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "a0.muscache.com",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "www.gstatic.com",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "aqila.nwhco.ir",
|
|
port: "",
|
|
pathname: "/**",
|
|
},
|
|
],
|
|
},
|
|
|
|
};
|
|
|
|
|
|
// const nextConfig = {
|
|
// reactStrictMode: false,
|
|
// ignoreBuildErrors: true,
|
|
// typescript: {
|
|
// ignoreBuildErrors: true,
|
|
// },
|
|
// eslint: {
|
|
// ignoreDuringBuilds: true,
|
|
// },
|
|
// trailingSlash: true,
|
|
// };
|
|
|
|
// module.exports = nextConfig;
|
|
|
|
|