Skip to content

Commit 5b3906e

Browse files
sharhmontogeek
authored andcommitted
docs(plugins): Add title to cacheGroups (#2227)
addCache test correctly _describe your changes..._ - [ ] Read and sign the [CLA][1]. PRs that haven't signed it won't be accepted. - [ ] Make sure your PR complies with the [writer's guide][2]. - [ ] Review the diff carefully as sometimes this can reveal issues. - __Remove these instructions from your PR as they are for your eyes only.__ [1]: https://cla.js.foundation/webpack/webpack.js.org [2]: https://webpack.js.org/writers-guide/
1 parent a6a3332 commit 5b3906e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/content/plugins/split-chunks-plugin.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ A module can belong to multiple cache groups. The optimization will prefer the c
217217

218218
If the current chunk contains modules already split out from the main bundle, it will be reused instead of a new one being generated. This can impact the resulting file name of the chunk.
219219

220+
#### `splitChunks.cacheGroups.cacheGroup.test`
221+
220222
__webpack.config.js__
221223

222224
```js
@@ -255,8 +257,8 @@ module.exports = {
255257
}
256258
}
257259
}
258-
}
259-
}
260+
}
261+
}
260262
};
261263
```
262264

0 commit comments

Comments
 (0)