mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
import { configure } from '@storybook/react';
|
|
|
|
const req = require.context('../stories/required_with_context', true, /.stories.js$/)
|
|
|
|
function loadStories() {
|
|
req.keys().forEach((filename) => req(filename))
|
|
require('../stories/directly_required')
|
|
}
|
|
|
|
configure(loadStories, module);
|