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

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. /** @type {import('next').NextConfig} */
  2. const { i18n } = require("./next-i18next.config");
  3. module.exports = {
  4. typescript: {
  5. // !! WARN !!
  6. // Dangerously allow production builds to successfully complete even if
  7. // your project has type errors.
  8. // !! WARN !!
  9. ignoreBuildErrors: true,
  10. },
  11. eslint: {
  12. ignoreDuringBuilds: false,
  13. },
  14. i18n,
  15. images: {
  16. remotePatterns: [
  17. {
  18. protocol: "https",
  19. hostname: "images.pexels.com",
  20. port: "",
  21. pathname: "/**",
  22. },
  23. {
  24. protocol: "https",
  25. hostname: "images.unsplash.com",
  26. port: "",
  27. pathname: "/**",
  28. },
  29. {
  30. protocol: "https",
  31. hostname: "a0.muscache.com",
  32. port: "",
  33. pathname: "/**",
  34. },
  35. {
  36. protocol: "https",
  37. hostname: "www.gstatic.com",
  38. port: "",
  39. pathname: "/**",
  40. },
  41. {
  42. protocol: "https",
  43. hostname: "aqila.nwhco.ir",
  44. port: "",
  45. pathname: "/**",
  46. },
  47. ],
  48. },
  49. };
  50. // const nextConfig = {
  51. // reactStrictMode: false,
  52. // ignoreBuildErrors: true,
  53. // typescript: {
  54. // ignoreBuildErrors: true,
  55. // },
  56. // eslint: {
  57. // ignoreDuringBuilds: true,
  58. // },
  59. // trailingSlash: true,
  60. // };
  61. // module.exports = nextConfig;