-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleguide.config.js
42 lines (41 loc) · 1.04 KB
/
styleguide.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
const path = require('path');
module.exports = {
webpackConfig: require('./build/webpack.config.styleguide'),
styleguideComponents: {
Wrapper: path.join(__dirname, './build/styleguide/Wrapper'),
},
sections: [
{
name: 'Fields',
components: 'fields/*/src/[A-Z]*.jsx',
usageMode: 'expand',
ignore: [
'fields/items/src/Sortable*.jsx',
],
},
{
name: 'Forms',
components: 'forms/*/src/[A-Z]*.jsx',
},
{
name: 'Layouts',
components: 'layouts/*/src/[A-Z]*.jsx',
},
{
name: 'Lists',
components: 'lists/*/src/[A-Z]*.jsx',
},
{
name: 'Modals',
components: 'modals/*/src/[A-Z]*.jsx',
},
{
name: 'Previews',
components: 'previews/*/src/[A-Z]*.jsx',
},
{
name: 'Panneau',
components: 'packages/*/src/[A-Z]*.jsx',
},
],
};