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.

42 lines
761 B

  1. import type { NextConfig } from "next";
  2. const nextConfig: NextConfig = {
  3. reactStrictMode: false,
  4. images: {
  5. domains: ["habibapp.com"], // Add the domain for image hosting
  6. },
  7. i18n: {
  8. locales: [
  9. "en",
  10. "es",
  11. "de",
  12. "uz",
  13. "pt",
  14. "bn",
  15. "zh",
  16. "az",
  17. "ur",
  18. "fr",
  19. "tr",
  20. "id",
  21. "sw",
  22. "ru",
  23. "ar",
  24. "tg",
  25. "fa",
  26. "gu",
  27. "ks",
  28. "ha",
  29. ], // Add the locales you want to support
  30. defaultLocale: "en", // Default language
  31. },
  32. // Uncomment these if you want to disable TypeScript build errors or ESLint during build
  33. typescript: {
  34. ignoreBuildErrors: true
  35. },
  36. eslint: {
  37. ignoreDuringBuilds: true
  38. }
  39. };
  40. export default nextConfig;