diff --git a/tasks/build-component-inventory.js b/tasks/build-component-inventory.js index 326ba7e3f9..efa8813c85 100644 --- a/tasks/build-component-inventory.js +++ b/tasks/build-component-inventory.js @@ -88,7 +88,7 @@ async function getCSSComponents() { async function getWebComponents() { const directoryRE = /(?:\/)([^\/]+)(?=\/src)\//; - const paths = globby.sync(ConfigPath); + const paths = fg.sync(ConfigPath); const componentPromises = paths.map(async (path) => { const config = await import(pathToFileURL(path)); const component = config.default.spectrum;