Skip to content

Commit

Permalink
exclude webpack-stats.json from bundle calc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Apr 24, 2024
1 parent c7e3624 commit f7c4d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ const nextConfig = {
chunks: true,
modules: true,
},
excludeAssets: [/webpack-stats.json/],

transform: (webpackStats) => {
if (filterWebpackStats instanceof Function) {
const filteredSource = filterWebpackStats(webpackStats)
Expand Down

0 comments on commit f7c4d33

Please sign in to comment.