Skip to content

Commit 83be9ce

Browse files
committed
fix: update component path
Signed-off-by: Mike Murray <hellomikemurray@gmail.com>
1 parent 1e44cfa commit 83be9ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

styleguide.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
const path = require("path");
22
const fs = require("fs");
33

4-
const componentsDir = path.join(__dirname, "package/src/components");
4+
const componentsDir = path.join(__dirname, "package/src");
55
const componentTree = {};
66

77
// Build componentTree from project files
88
if (fs.statSync(componentsDir).isDirectory()) {
99
const componentItems = fs.readdirSync(componentsDir);
1010
componentItems.forEach((componentName) => {
11-
componentTree[componentName] = path.join("./package/src/components", componentName, `${componentName}.js`);
11+
componentTree[componentName] = path.join("./package/src", componentName, `${componentName}.js`);
1212
});
1313
}
1414

0 commit comments

Comments
 (0)