next.config.ts 703 B

12345678910111213141516171819202122232425262728293031323334
  1. import type { NextConfig } from "next";
  2. const nextConfig: NextConfig = {
  3. /* config options here */
  4. reactStrictMode: true,
  5. images: {
  6. unoptimized: true,
  7. domains: ["lh3.googleusercontent.com", "192.168.1.12", "localhost", "www.facebook.com"],
  8. remotePatterns: [
  9. {
  10. protocol: "https",
  11. hostname: "**.vercel.app",
  12. },
  13. ],
  14. },
  15. experimental: {
  16. turbo: {
  17. rules: {
  18. "*.svg": {
  19. loaders: ["@svgr/webpack"],
  20. as: "*.js",
  21. },
  22. },
  23. },
  24. },
  25. // webpack: (config, { dev }) => {
  26. // if (dev) {
  27. // config.devtool = "cheap-module-source-map";
  28. // }
  29. // return config;
  30. // },
  31. };
  32. export default nextConfig;