From 65c74d2acc205eee06652f71f642ddaa389cc46f Mon Sep 17 00:00:00 2001 From: Kevin Gorjan Date: Wed, 19 Jan 2022 11:28:35 +0100 Subject: [PATCH] perf(theme): updated nuxt.config.js to improve rebuild performance during development Updated the nuxt.config.js by increasing the enforceSizeThreshold and removing configuration properties --- packages/theme/nuxt.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/theme/nuxt.config.js b/packages/theme/nuxt.config.js index c9f0ad01c..e7fa4ebff 100755 --- a/packages/theme/nuxt.config.js +++ b/packages/theme/nuxt.config.js @@ -205,12 +205,9 @@ export default { ...cfg.optimization.splitChunks, automaticNameDelimiter: '.', chunks: 'all', - enforceSizeThreshold: 40_000, + enforceSizeThreshold: 50_000, maxAsyncRequests: 30, maxInitialRequests: 30, - maxSize: 128_000, - minChunks: 1, - minSize: 0, cacheGroups: { ...cfg.optimization.splitChunks.cacheGroups, vendor: {