@vuepress/plugin-register-components
Advanced tools
Comparing version 1.0.0-alpha.17 to 1.0.0-alpha.18
@@ -1,2 +0,2 @@ | ||
const { fs, path, globby } = require('@vuepress/shared-utils') | ||
const { fs, path, globby, datatypes: { isString }} = require('@vuepress/shared-utils') | ||
@@ -43,2 +43,5 @@ function fileToComponentName (file) { | ||
for (const baseDir of baseDirs) { | ||
if (!isString(baseDir)) { | ||
continue | ||
} | ||
const files = await resolveComponents(baseDir) || [] | ||
@@ -45,0 +48,0 @@ code += files.map(file => genImport(baseDir, file)).join('\n') + '\n' |
{ | ||
"name": "@vuepress/plugin-register-components", | ||
"version": "1.0.0-alpha.17", | ||
"version": "1.0.0-alpha.18", | ||
"description": "register-global-components plugin for vuepress", | ||
@@ -26,4 +26,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@vuepress/shared-utils": "^1.0.0-alpha.17" | ||
"@vuepress/shared-utils": "^1.0.0-alpha.18" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3361
50