Skip to content

Commit

Permalink
add excludeAssets to RelativeCiAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Apr 24, 2024
1 parent 46c634a commit 8b20d7f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8b20d7f

Please sign in to comment.