Skip to content

Commit f69072b

Browse files
docs: add --optimization-split-chunks-default-size-type flag (#1849)
Co-authored-by: Even Stensberg <evenstensberg@gmail.com>
1 parent bc5465a commit f69072b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/webpack-cli/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ yarn add webpack-cli --dev
204204
cache group.
205205
--optimization-split-chunks-chunks string Select chunks for determining shared modules (defaults to "async", "initial"
206206
and "all" requires adding these chunks to the HTML).
207+
--optimization-split-chunks-default-size-types string Size type, like 'javascript', 'webassembly'.
208+
--optimization-split-chunks-default-size-types-reset Clear all items provided in configuration. Sets the size types which are used when a
209+
number is used for sizes.
207210
208211
--optimization-split-chunks-enforce-size-threshold string Size of the javascript part of the chunk.
209212
--optimization-split-chunks-fallback-cache-group-automatic-name-delimiter string Sets the name delimiter for created chunks

0 commit comments

Comments
 (0)