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.

73 lines
1.5 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. /** @type {import('next').NextConfig} */
  2. module.exports = {
  3. typescript: {
  4. // !! WARN !!
  5. // Dangerously allow production builds to successfully complete even if
  6. // your project has type errors.
  7. // !! WARN !!
  8. ignoreBuildErrors: true,
  9. },
  10. eslint: {
  11. ignoreDuringBuilds: true,
  12. },
  13. i18n: {
  14. locales: ['en'], // List all the languages you want to support
  15. defaultLocale: 'en', // The default language of the website
  16. localeDetection: true, // Enable or disable automatic locale detection based on browser settings
  17. },
  18. images: {
  19. remotePatterns: [
  20. {
  21. protocol: "https",
  22. hostname: "images.pexels.com",
  23. port: "",
  24. pathname: "/**",
  25. },
  26. {
  27. protocol: "https",
  28. hostname: "images.unsplash.com",
  29. port: "",
  30. pathname: "/**",
  31. },
  32. {
  33. protocol: "https",
  34. hostname: "a0.muscache.com",
  35. port: "",
  36. pathname: "/**",
  37. },
  38. {
  39. protocol: "https",
  40. hostname: "www.gstatic.com",
  41. port: "",
  42. pathname: "/**",
  43. },
  44. {
  45. protocol: "https",
  46. hostname: "aqila.nwhco.ir",
  47. port: "",
  48. pathname: "/**",
  49. },
  50. ],
  51. },
  52. };
  53. // const nextConfig = {
  54. // reactStrictMode: false,
  55. // ignoreBuildErrors: true,
  56. // typescript: {
  57. // ignoreBuildErrors: true,
  58. // },
  59. // eslint: {
  60. // ignoreDuringBuilds: true,
  61. // },
  62. // trailingSlash: true,
  63. // };
  64. // module.exports = nextConfig;