19 lines
364 B
JavaScript
Executable File
19 lines
364 B
JavaScript
Executable File
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ['@nice/ui', '@nice/i18n'],
|
|
// 启用standalone输出模式以优化Docker镜像体积
|
|
output: 'standalone',
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'picsum.photos',
|
|
port: '',
|
|
pathname: '/**',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|