1
0
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:
squidfunk 2021-02-23 09:54:57 +01:00
parent 6635d5ab27
commit d0b34b07d6
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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>())
)