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.

60 lines
1.1 KiB

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