Template
Improve chat navigation, model selection, and streaming
This commit is contained in:
+16
-23
@@ -1,30 +1,23 @@
|
||||
const nextConfig = {
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
outputFileTracingRoot: process.cwd(),
|
||||
reactStrictMode: true,
|
||||
images: {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'images.unsplash.com',
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'cdn.shopify.com',
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '**.frontend.co',
|
||||
},
|
||||
],
|
||||
},
|
||||
webpack: (config, { isServer }) => {
|
||||
config.cache = { type: "memory" };
|
||||
if (isServer) {
|
||||
config.optimization = config.optimization || {};
|
||||
config.optimization.splitChunks = false;
|
||||
} return config;
|
||||
}
|
||||
{ protocol: 'https', hostname: 'images.unsplash.com' },
|
||||
{ protocol: 'https', hostname: 'cdn.shopify.com' },
|
||||
{ protocol: 'https', hostname: '**.frontend.co' },
|
||||
],
|
||||
},
|
||||
webpack: (config, { isServer }) => {
|
||||
config.cache = { type: 'memory' };
|
||||
if (isServer) {
|
||||
config.optimization = config.optimization || {};
|
||||
config.optimization.splitChunks = false;
|
||||
}
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user