mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +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" }))
|
const icons$ = defer(() => resolve("**/*.svg", { cwd: "material/.icons" }))
|
||||||
.pipe(
|
.pipe(
|
||||||
reduce((index, file) => index.set(
|
reduce((index, file) => index.set(
|
||||||
file,
|
file.replace(/\.svg$/, "").replace(/\//g, "-"),
|
||||||
file.replace(/\.svg$/, "").replace(/\//g, "-")
|
file
|
||||||
), new Map<string, string>())
|
), new Map<string, string>())
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user