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.

65 lines
1.1 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. eslint: {
  5. ignoreDuringBuilds: false,
  6. },
  7. images: {
  8. remotePatterns: [
  9. {
  10. protocol: "https",
  11. hostname: "images.pexels.com",
  12. port: "",
  13. pathname: "/**",
  14. },
  15. {
  16. protocol: "https",
  17. hostname: "images.unsplash.com",
  18. port: "",
  19. pathname: "/**",
  20. },
  21. {
  22. protocol: "https",
  23. hostname: "a0.muscache.com",
  24. port: "",
  25. pathname: "/**",
  26. },
  27. {
  28. protocol: "https",
  29. hostname: "www.gstatic.com",
  30. port: "",
  31. pathname: "/**",
  32. },
  33. {
  34. protocol: "https",
  35. hostname: "aqila.nwhco.ir",
  36. port: "",
  37. pathname: "/**",
  38. },
  39. ],
  40. },
  41. };
  42. // const nextConfig = {
  43. // reactStrictMode: false,
  44. // ignoreBuildErrors: true,
  45. // typescript: {
  46. // ignoreBuildErrors: true,
  47. // },
  48. // eslint: {
  49. // ignoreDuringBuilds: true,
  50. // },
  51. // trailingSlash: true,
  52. // };
  53. // module.exports = nextConfig;