Commit 685d620e authored by Tom Quirk's avatar Tom Quirk

Fix Storybook for FOSS

Don't check for ee/ stories in FOSS
parent 063ab485
/* eslint-disable import/no-commonjs */ /* eslint-disable import/no-commonjs */
const IS_EE = require('../../config/helpers/is_ee_env');
module.exports = { module.exports = {
stories: [ stories: [
'../../app/assets/javascripts/**/*.stories.js', '../../app/assets/javascripts/**/*.stories.js',
'../../ee/app/assets/javascripts/**/*.stories.js', IS_EE && '../../ee/app/assets/javascripts/**/*.stories.js',
], ].filter(Boolean),
addons: ['@storybook/addon-essentials', '@storybook/addon-a11y'], addons: ['@storybook/addon-essentials', '@storybook/addon-a11y'],
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment