From 79716849ffb8ef51548bb735eef51dbcf87e2a02 Mon Sep 17 00:00:00 2001 From: i-trytoohard Date: Wed, 20 May 2026 07:34:21 +0000 Subject: [PATCH] fix(web): move ao-core from transpilePackages to serverExternalPackages Next.js errors when a package is in both lists: 'transpilePackages' conflicts with 'serverExternalPackages' Remove @aoagents/ao-core from transpilePackages and keep it only in serverExternalPackages. This prevents webpack from bundling ao-core and baking import.meta.url as the build machine's path. --- packages/web/next.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/web/next.config.js b/packages/web/next.config.js index 8627a965f..2639442dc 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -9,7 +9,6 @@ const homeDir = os.homedir().replace(/\\/g, "/"); const nextConfig = { outputFileTracingRoot: path.join(__dirname, "../.."), transpilePackages: [ - "@aoagents/ao-core", "@aoagents/ao-plugin-agent-claude-code", "@aoagents/ao-plugin-agent-codex", "@aoagents/ao-plugin-agent-opencode",