vaibhav07112004 commited on
Commit
7483b98
·
verified ·
1 Parent(s): de616aa

Update next.config.mjs

Browse files
Files changed (1) hide show
  1. next.config.mjs +2 -9
next.config.mjs CHANGED
@@ -3,7 +3,6 @@ const nextConfig = {
3
  output: 'export',
4
  trailingSlash: true,
5
  distDir: 'out',
6
- // Remove serverExternalPackages - not needed for static export
7
  eslint: {
8
  ignoreDuringBuilds: true,
9
  },
@@ -11,17 +10,11 @@ const nextConfig = {
11
  ignoreBuildErrors: true,
12
  },
13
  images: {
14
- unoptimized: true, // Required for static export
15
- // Remove domains and remotePatterns for static export
16
  },
17
- // Add environment variables for your backend
18
  env: {
19
  NEXT_PUBLIC_BACKEND_URL: 'https://vaibhav07112004-vibe-detection-backend-api.hf.space'
20
- },
21
- // Optimize for static hosting
22
- experimental: {
23
- esmExternals: false,
24
- },
25
  }
26
 
27
  export default nextConfig
 
3
  output: 'export',
4
  trailingSlash: true,
5
  distDir: 'out',
 
6
  eslint: {
7
  ignoreDuringBuilds: true,
8
  },
 
10
  ignoreBuildErrors: true,
11
  },
12
  images: {
13
+ unoptimized: true,
 
14
  },
 
15
  env: {
16
  NEXT_PUBLIC_BACKEND_URL: 'https://vaibhav07112004-vibe-detection-backend-api.hf.space'
17
+ }
 
 
 
 
18
  }
19
 
20
  export default nextConfig