next.config.ts
此代码来自构建时的仓库快照。修改源码后重新构建即可更新。
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
// BullMQ 仅运行在 Node.js;保留原生加载,避免打包它的可选 Redis 驱动。
serverExternalPackages: ['bullmq', 'ioredis'],
output: 'standalone',
cacheComponents: true,
partialPrefetching: true,
};
export default nextConfig;