Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
685d620e
Commit
685d620e
authored
Jun 09, 2021
by
Tom Quirk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Storybook for FOSS
Don't check for ee/ stories in FOSS
parent
063ab485
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
storybook/config/main.js
storybook/config/main.js
+4
-2
No files found.
storybook/config/main.js
View file @
685d620e
/* eslint-disable import/no-commonjs */
const
IS_EE
=
require
(
'
../../config/helpers/is_ee_env
'
);
module
.
exports
=
{
stories
:
[
'
../../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
'
],
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment