diff options
Diffstat (limited to 'node_modules/vuepress/lib/app/util.js')
| -rw-r--r-- | node_modules/vuepress/lib/app/util.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/node_modules/vuepress/lib/app/util.js b/node_modules/vuepress/lib/app/util.js deleted file mode 100644 index c1117224..00000000 --- a/node_modules/vuepress/lib/app/util.js +++ /dev/null @@ -1,19 +0,0 @@ -export function injectMixins (options, mixins) { - if (!options.mixins) { - options.mixins = [] - } - options.mixins.push(...mixins) -} - -export function findPageForPath (pages, path) { - for (let i = 0; i < pages.length; i++) { - const page = pages[i] - if (page.path === path) { - return page - } - } - return { - path: '', - frontmatter: {} - } -} |
