We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c193735 commit f47302eCopy full SHA for f47302e
.changeset/cuddly-clouds-divide.md
@@ -0,0 +1,5 @@
1
+---
2
+'@rsbuild/shared': patch
3
4
+
5
+chore: update stats chunk type
packages/shared/src/types/stats.ts
@@ -33,7 +33,7 @@ export interface StatsAsset {
33
type: string;
34
name: string;
35
size: number;
36
- chunks?: Array<string | number>;
+ chunks?: Array<string | undefined | null>;
37
chunkNames?: Array<string | number>;
38
info: StatsAssetInfo;
39
}
@@ -49,7 +49,7 @@ interface StatsModule {
49
identifier?: string;
50
name?: string;
51
id?: string;
52
- chunks?: Array<string>;
53
size?: number;
54
55
0 commit comments