From ca48210f90d0149bf4fd256ef7455a386cef8b66 Mon Sep 17 00:00:00 2001 From: Ivan Kopeykin Date: Wed, 13 Jul 2022 12:41:22 +0300 Subject: [PATCH 1/2] describe layer option --- src/content/configuration/module.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 383d58c83c94..2972b62bde6f 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -528,7 +528,7 @@ module.exports = { `string` -Specify the layer in which the module should be placed in. +Specify the layer in which the module should be placed in. A group of modules could be united in one layer, layer could be used in [split chunks](/plugins/split-chunks-plugin/#splitchunkslayer), [stats](/configuration/stats/#statsgroupmodulesbylayer), [entry options](/configuration/entry-context/#entry-descriptor). **webpack.config.js** From 1f942f3c98168304304e47dbd20b3952ab9c8522 Mon Sep 17 00:00:00 2001 From: Sam Chen Date: Thu, 14 Jul 2022 20:57:58 +0800 Subject: [PATCH 2/2] Update src/content/configuration/module.mdx --- src/content/configuration/module.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 2972b62bde6f..551127762c9c 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -528,7 +528,7 @@ module.exports = { `string` -Specify the layer in which the module should be placed in. A group of modules could be united in one layer, layer could be used in [split chunks](/plugins/split-chunks-plugin/#splitchunkslayer), [stats](/configuration/stats/#statsgroupmodulesbylayer), [entry options](/configuration/entry-context/#entry-descriptor). +Specify the layer in which the module should be placed in. A group of modules could be united in one layer which could then be used in [split chunks](/plugins/split-chunks-plugin/#splitchunkslayer), [stats](/configuration/stats/#statsgroupmodulesbylayer) or [entry options](/configuration/entry-context/#entry-descriptor). **webpack.config.js**