diff options
Diffstat (limited to 'storybook/config.js')
-rw-r--r-- | storybook/config.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/storybook/config.js b/storybook/config.js deleted file mode 100644 index 87479560f..000000000 --- a/storybook/config.js +++ /dev/null @@ -1,15 +0,0 @@ -import { configure } from '@storybook/react'; -import { addLocaleData } from 'react-intl'; -import en from 'react-intl/locale-data/en'; -import '../app/javascript/styles/application.scss'; -import './storybook.scss'; - -addLocaleData(en); - -let req = require.context('./stories/', true, /.story.js$/); - -function loadStories () { - req.keys().forEach((filename) => req(filename)); -} - -configure(loadStories, module); |