We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd925d commit 6954103Copy full SHA for 6954103
src/utils/create-dot-index-files.js
@@ -13,7 +13,7 @@ function createDotIndexFiles (rootPath, options={}) {
13
const newContent = createIndexFileContent([ ...files, ...directories ], rootPath, options)
14
if (newContent !== existingContent) fs.writeFileSync(to('.index.js'), newContent)
15
}
16
- directories.forEach(dir => createDotIndexFiles(to(dir)))
+ directories.forEach(dir => createDotIndexFiles(to(dir), options))
17
18
19
function attemptRead (file) {
0 commit comments