-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
It is possible to require all stories using like node-glob in the config.js
file?
I tried but there something wrong happening when glob
tries to access my src
path. Maybe I am doing something wrong, but I would like to see this working.
glob('../src/components/**/stories.js', (err, files) => {
files.forEach(file => require(file))
})
Someone has a workaround?
Metadata
Metadata
Assignees
Labels
No labels