闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
408 B

  1. import { configure } from '@storybook/react';
  2. import { addLocaleData } from 'react-intl';
  3. import en from 'react-intl/locale-data/en';
  4. import '../app/javascript/styles/application.scss';
  5. import './storybook.scss';
  6. addLocaleData(en);
  7. let req = require.context('./stories/', true, /.story.js$/);
  8. function loadStories () {
  9. req.keys().forEach((filename) => req(filename));
  10. }
  11. configure(loadStories, module);