From 8b20d7f6a2ef3dfea679750f339540d8aa7d799b Mon Sep 17 00:00:00 2001 From: Joe Karow <58997957+JoeKarow@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:37:05 -0400 Subject: [PATCH] add excludeAssets to RelativeCiAgent --- apps/app/next.config.mjs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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',