You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/configuration/output.md
+9-8
Original file line number
Diff line number
Diff line change
@@ -319,14 +319,15 @@ Note this option does not affect output files for on-demand-loaded chunks. For t
319
319
320
320
The following substitutions are available in template strings (via webpack's internal [`TemplatedPathPlugin`](https://github.com/webpack/webpack/blob/master/lib/TemplatedPathPlugin.js)):
|[contenthash]| the hash of the content of a file, which is different for each asset |
326
+
|[chunkhash]| The hash of the chunk content |
327
+
|[name]| The module name |
328
+
|[id]| The module identifier |
329
+
|[query]| The module query, i.e., the string following `?` in the filename |
330
+
|[function]| The function, which can return filename [string]|
330
331
331
332
The lengths of `[hash]` and `[chunkhash]` can be specified using `[hash:16]` (defaults to 20). Alternatively, specify [`output.hashDigestLength`](#outputhashdigestlength) to configure the length globally.
0 commit comments