Skip to content

Instantly share code, notes, and snippets.

@danilowoz
Created October 11, 2017 19:14
Show Gist options
  • Save danilowoz/46aa71d1ca21dd8c83e5b820676d79f5 to your computer and use it in GitHub Desktop.
Save danilowoz/46aa71d1ca21dd8c83e5b820676d79f5 to your computer and use it in GitHub Desktop.
import { configure } from '@storybook/react'
import './style.css'
const req = require.context('../src/', true, /stories\.js$/)
function loadStories() {
req.keys().forEach(req)
}
configure(loadStories, module)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment