Skip to content

Commit 466badd

Browse files
authored
docs(configuration): add new type (webpack#6225)
* docs(configuration): add new type * add note
1 parent e8c2f87 commit 466badd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/content/configuration/other-options.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,20 @@ Both `hash` and `timestamp` are optional.
432432

433433
### immutablePaths
434434

435-
`[string]`
435+
`(RegExp | string)[]`
436436

437437
An array of paths that are managed by a package manager and contain a version or a hash in their paths so that all files are immutable.
438438

439+
Make sure to wrap the path in a capture group if you use regular expressions.
440+
439441
### managedPaths
440442

441-
`[string]`
443+
`(RegExp | string)[]`
442444

443445
An array of paths that are managed by a package manager and can be trusted to not be modified otherwise.
444446

447+
Make sure to wrap the path in a capture group if you use regular expressions.
448+
445449
### module
446450

447451
`object = {hash boolean = true, timestamp boolean = true}`

0 commit comments

Comments
 (0)