forked from elizaOS/eliza
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
36 lines (35 loc) · 900 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false }
return config
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'picsum.photos'
},
{
protocol: 'https',
hostname: 'hebbkx1anhila5yf.public.blob.vercel-storage.com'
}
],
dangerouslyAllowSVG: true,
unoptimized: true,
domains: ['localhost'],
disableStaticImages: false,
formats: ['image/webp', 'image/png', 'image/jpeg', 'image/gif']
},
productionBrowserSourceMaps: true,
experimental: {
outputFileTracingRoot: process.env.NODE_ENV === "development" ? "./app" : undefined,
outputStandalone: true,
images: {
allowFutureImage: true
}
},
distDir: 'app/.next'
}
module.exports = nextConfig