Skip to main content
webpack / PathData

Interface: PathData

Defined in: webpack/types.d.ts:14064

Properties

basename?

optional basename: string
Defined in: webpack/types.d.ts:14072

chunk?

optional chunk: Chunk | ChunkPathData
Defined in: webpack/types.d.ts:14068

chunkGraph?

optional chunkGraph: ChunkGraph
Defined in: webpack/types.d.ts:14065

contentHash?

optional contentHash: string
Defined in: webpack/types.d.ts:14075

contentHashType?

optional contentHashType: string
Defined in: webpack/types.d.ts:14074

contentHashWithLength()?

optional contentHashWithLength: (length) => string
Defined in: webpack/types.d.ts:14076

Parameters

length
number

Returns

string

filename?

optional filename: string
Defined in: webpack/types.d.ts:14071

hash?

optional hash: string
Defined in: webpack/types.d.ts:14066

hashWithLength()?

optional hashWithLength: (length) => string
Defined in: webpack/types.d.ts:14067

Parameters

length
number

Returns

string

module?

optional module: Module | ModulePathData
Defined in: webpack/types.d.ts:14069

noChunkHash?

optional noChunkHash: boolean
Defined in: webpack/types.d.ts:14077

prepareId()?

optional prepareId: (id) => string | number
Defined in: webpack/types.d.ts:14079

Parameters

id
string | number

Returns

string | number

query?

optional query: string
Defined in: webpack/types.d.ts:14073

runtime?

optional runtime: RuntimeSpec
Defined in: webpack/types.d.ts:14070

url?

optional url: string
Defined in: webpack/types.d.ts:14078