From 97fbaa4bb68d9fe88a5f2bf206090ac609d56679 Mon Sep 17 00:00:00 2001 From: jmsche Date: Mon, 19 Nov 2018 13:59:51 +0100 Subject: [PATCH] [Encore] Fixed code example for SplitChunks Fixes https://github.com/symfony/webpack-encore/issues/458 --- frontend/encore/split-chunks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/encore/split-chunks.rst b/frontend/encore/split-chunks.rst index 60ff25397f8..e619256c125 100644 --- a/frontend/encore/split-chunks.rst +++ b/frontend/encore/split-chunks.rst @@ -59,6 +59,6 @@ this plugin with the ``configureSplitChunks()`` function: + .configureSplitChunks(function(splitChunks) { + // change the configuration + splitChunks.minSize = 0; - + } + + }) .. _`SplitChunksPlugin from Webpack`: https://webpack.js.org/plugins/split-chunks-plugin/