From caad947161fe012dd0e55467b586b53bc1a73aac Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 14 Oct 2024 19:00:56 +0100 Subject: [PATCH] add minSize --- app/assets/javascripts/discourse/ember-cli-build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/discourse/ember-cli-build.js b/app/assets/javascripts/discourse/ember-cli-build.js index ad5d2cf3687..82318ffe58d 100644 --- a/app/assets/javascripts/discourse/ember-cli-build.js +++ b/app/assets/javascripts/discourse/ember-cli-build.js @@ -159,6 +159,7 @@ module.exports = function (defaults) { splitChunks: { chunks: "all", maxSize: 1 * 1024 * 1024, // 1MB + minSize: 0.8 * 1024 * 1024, // 0.8MB }, }, cache: isProduction