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);