Trudy commited on
Commit
c23e9bf
·
1 Parent(s): 6e5a52a

Fix Next.js config for Hugging Face deployment: Convert to CommonJS format with standalone output

Browse files
Files changed (1) hide show
  1. next.config.mjs → next.config.js +2 -1
next.config.mjs → next.config.js RENAMED
@@ -1,6 +1,7 @@
1
  /** @type {import('next').NextConfig} */
2
  const nextConfig = {
3
  reactStrictMode: true,
 
4
  };
5
 
6
- export default nextConfig;
 
1
  /** @type {import('next').NextConfig} */
2
  const nextConfig = {
3
  reactStrictMode: true,
4
+ output: 'standalone'
5
  };
6
 
7
+ module.exports = nextConfig;