Skip to content

Commit

Permalink
Increase warning threshold for bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
theonlypwner committed Jan 1, 2025
1 parent fe938cb commit 8c1ddcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ module.exports = {
chunks: devMode ? 'async' : 'all',
},
},
performance: {
maxEntrypointSize: 2 ** 20, // 1 MiB
maxAssetSize: 2 ** 19, // 512 KiB
},
}

0 comments on commit 8c1ddcc

Please sign in to comment.