mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Fixed icon search
This commit is contained in:
parent
6635d5ab27
commit
d0b34b07d6
File diff suppressed because one or more lines are too long
@ -231,8 +231,8 @@ const templates$ = manifest$
|
||||
const icons$ = defer(() => resolve("**/*.svg", { cwd: "material/.icons" }))
|
||||
.pipe(
|
||||
reduce((index, file) => index.set(
|
||||
file,
|
||||
file.replace(/\.svg$/, "").replace(/\//g, "-")
|
||||
file.replace(/\.svg$/, "").replace(/\//g, "-"),
|
||||
file
|
||||
), new Map<string, string>())
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user