Fix max-chunk-size error (#14441)

as title
This commit is contained in:
martmull
2025-09-12 10:20:22 +02:00
committed by GitHub
parent cdaa4a0474
commit b17da02ee9
+1 -1
View File
@@ -46,7 +46,7 @@ export default defineConfig(({ command, mode }) => {
// Please don't increase this limit for main index chunk
// If it gets too big then find modules in the code base
// that can be loaded lazily, there are more!
const MAIN_CHUNK_SIZE_LIMIT = 4.9 * 1024 * 1024; // 4.7MB for main index chunk
const MAIN_CHUNK_SIZE_LIMIT = 5.3 * 1024 * 1024; // 5.3MB for main index chunk
const OTHER_CHUNK_SIZE_LIMIT = 5 * 1024 * 1024; // 5MB for other chunks
const checkers: Checkers = {