File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,31 +187,20 @@ The function is invoked during the build process and receives an object that con
187187
188188``` ts
189189type PathData = {
190- hash: string ;
191- hashWithLength: (number ) => string ;
192- chunk: Chunk | ChunkPathData ;
193- module: Module | ModulePathData ;
194- contentHashType: string ;
195- contentHash: string ;
196- contentHashWithLength: (number ) => string ;
197- filename: string ;
198- url: string ;
199- runtime: string | SortableSet <string >;
200- chunkGraph: ChunkGraph ;
190+ filename? : string ;
191+ hash? : string ;
192+ contentHash? : string ;
193+ runtime? : string ;
194+ url? : string ;
195+ id? : string ;
196+ chunk? : Chunk | ChunkPathData ;
197+ contentHashType? : string ;
201198};
202199
203200type ChunkPathData = {
204- id: string | number ;
205- name: string ;
206- hash: string ;
207- hashWithLength: (number ) => string ;
208- contentHash: Record <string , string >;
209- contentHashWithLength: Record <string , (number ) => string >;
210- };
211-
212- type ModulePathData = {
213- id: string | number ;
214- hash: string ;
215- hashWithLength: (number ) => string ;
201+ id? : string ;
202+ name? : string ;
203+ hash? : string ;
204+ contentHash? : Record <string , string >;
216205};
217206```
Original file line number Diff line number Diff line change @@ -187,31 +187,20 @@ export default {
187187
188188``` ts
189189type PathData = {
190- hash: string ;
191- hashWithLength: (number ) => string ;
192- chunk: Chunk | ChunkPathData ;
193- module: Module | ModulePathData ;
194- contentHashType: string ;
195- contentHash: string ;
196- contentHashWithLength: (number ) => string ;
197- filename: string ;
198- url: string ;
199- runtime: string | SortableSet <string >;
200- chunkGraph: ChunkGraph ;
190+ filename? : string ;
191+ hash? : string ;
192+ contentHash? : string ;
193+ runtime? : string ;
194+ url? : string ;
195+ id? : string ;
196+ chunk? : Chunk | ChunkPathData ;
197+ contentHashType? : string ;
201198};
202199
203200type ChunkPathData = {
204- id: string | number ;
205- name: string ;
206- hash: string ;
207- hashWithLength: (number ) => string ;
208- contentHash: Record <string , string >;
209- contentHashWithLength: Record <string , (number ) => string >;
210- };
211-
212- type ModulePathData = {
213- id: string | number ;
214- hash: string ;
215- hashWithLength: (number ) => string ;
201+ id? : string ;
202+ name? : string ;
203+ hash? : string ;
204+ contentHash? : Record <string , string >;
216205};
217206```
You can’t perform that action at this time.
0 commit comments