Mehdi commited on
Commit
2a2c17a
·
verified ·
1 Parent(s): 252586e

Upload next.config.js with huggingface_hub

Browse files
Files changed (1) hide show
  1. next.config.js +5 -19
next.config.js CHANGED
@@ -1,28 +1,14 @@
1
  /** @type {import('next').NextConfig} */
2
  const nextConfig = {
3
- output: 'standalone',
4
  experimental: {
5
- appDir: true,
6
- },
7
- i18n: {
8
- locales: ['fa', 'en'],
9
- defaultLocale: 'fa',
10
- localeDetection: false,
11
  },
12
  images: {
13
- domains: ['localhost'],
14
- },
15
- webpack: (config, { isServer }) => {
16
- if (!isServer) {
17
- config.resolve.fallback = {
18
- ...config.resolve.fallback,
19
- fs: false,
20
- net: false,
21
- tls: false,
22
- };
23
- }
24
- return config;
25
  },
 
 
 
26
  }
27
 
28
  module.exports = nextConfig
 
1
  /** @type {import('next').NextConfig} */
2
  const nextConfig = {
 
3
  experimental: {
4
+ appDir: false
 
 
 
 
 
5
  },
6
  images: {
7
+ domains: ['localhost']
 
 
 
 
 
 
 
 
 
 
 
8
  },
9
+ env: {
10
+ CUSTOM_KEY: process.env.CUSTOM_KEY
11
+ }
12
  }
13
 
14
  module.exports = nextConfig