diff --git a/apps/app/next.config.mjs b/apps/app/next.config.mjs index 97263e0e60b..35f8a886cc3 100644 --- a/apps/app/next.config.mjs +++ b/apps/app/next.config.mjs @@ -69,7 +69,11 @@ const nextConfig = { config.plugins = [...config.plugins, new PrismaPlugin()] } if (!dev && !isServer) { - config.plugins.push(new RelativeCiAgentWebpackPlugin()) + config.plugins.push( + new RelativeCiAgentWebpackPlugin({ + stats: { excludeAssets: [/.*\/webpack-stats\.json/, /build-manifest\.json/] }, + }) + ) config.plugins.push( new StatsWriterPlugin({ filename: '../webpack-stats.json',