diff --git a/examples/using-preact/next.config.js b/examples/using-preact/next.config.js index 9ea297c607aa3..f1c41004b1298 100644 --- a/examples/using-preact/next.config.js +++ b/examples/using-preact/next.config.js @@ -9,9 +9,8 @@ module.exports = withPrefresh({ const test = /[\\/]node_modules[\\/](preact|preact-render-to-string|preact-context-provider)[\\/]/ if (cacheGroups.framework) { cacheGroups.preact = Object.assign({}, cacheGroups.framework, { test }) - cacheGroups.commons.name = 'framework' - } else { - cacheGroups.preact = { name: 'commons', chunks: 'all', test } + // if you want to merge the 2 small commons+framework chunks: + // cacheGroups.commons.name = 'framework'; } }