18 lines
440 B
TypeScript
18 lines
440 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
serverExternalPackages: ["@copilotkit/runtime"],
|
|
env: {
|
|
NEXT_PUBLIC_COPILOTKIT_THREADS_ENABLED: process.env.COPILOTKIT_LICENSE_TOKEN
|
|
? "true"
|
|
: "false",
|
|
},
|
|
typescript: {
|
|
// @mastra/memory beta packages have unstable types that break strict checking
|
|
ignoreBuildErrors: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|