Skip to content

Commit

Permalink
fix(type): Add missing OptimizationSplitChunksNameFunction param
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemonexe committed Dec 13, 2024
1 parent 2f4992b commit 78daf6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/rspack/src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,10 @@ export type OptimizationRuntimeChunk =
name?: string | ((value: { name: string }) => string);
};

export type OptimizationSplitChunksNameFunction = (module?: Module) => unknown;
export type OptimizationSplitChunksNameFunction = (
module?: Module,
chunks?: Chunk[]
) => unknown;

type OptimizationSplitChunksName =
| string
Expand Down

0 comments on commit 78daf6d

Please sign in to comment.