debian-mirror-gitlab/storybook/config/main.js
2021-11-18 22:05:49 +05:30

9 lines
318 B
JavaScript

const IS_EE = require('../../config/helpers/is_ee_env');
module.exports = {
stories: [
'../../app/assets/javascripts/**/*.stories.js',
IS_EE && '../../ee/app/assets/javascripts/**/*.stories.js',
].filter(Boolean),
addons: ['@storybook/addon-essentials', '@storybook/addon-a11y', 'storybook-mirage'],
};