mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Allow false as cache group value (#29354)
This commit is contained in:
Vendored
+1
-1
@@ -601,7 +601,7 @@ declare namespace webpack {
|
||||
/** Give chunks created a name (chunks with equal name are merged) */
|
||||
name?: boolean | string | ((...args: any[]) => any);
|
||||
/** Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks) */
|
||||
cacheGroups?: false | string | ((...args: any[]) => any) | RegExp | { [key: string]: CacheGroupsOptions };
|
||||
cacheGroups?: false | string | ((...args: any[]) => any) | RegExp | { [key: string]: CacheGroupsOptions | false };
|
||||
}
|
||||
interface RuntimeChunkOptions {
|
||||
/** The name or name factory for the runtime chunks. */
|
||||
|
||||
@@ -633,6 +633,7 @@ configuration = {
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
cacheGroups: {
|
||||
default: false,
|
||||
vendor: {
|
||||
chunks: "initial",
|
||||
test: "node_modules",
|
||||
|
||||
Reference in New Issue
Block a user