You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/plugins/split-chunks-plugin.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -348,7 +348,7 @@ W> This might result in a large chunk containing all external packages. It is re
348
348
349
349
### Split Chunks: Example 3
350
350
351
-
Create a `custom vendors` chunk, which includes only those `node_modules`from the whole application which passes the RegEx Test
351
+
Create a `custom vendor` chunk, which contains certain `node_modules`packages matched by `RegExp`.
352
352
353
353
__webpack.config.js__
354
354
@@ -369,4 +369,4 @@ module.exports = {
369
369
};
370
370
```
371
371
372
-
T> This will result into a vendor chunk containing desired libraries provided in RegEx pattern. A better understanding of chunks can be visualized by [webpack-visualizer](https://chrisbateman.github.io/webpack-visualizer/).
372
+
T> This will result in splitting `react` and `react-dom` into a separate chunk.
0 commit comments