1 | const path = require('path')
|
2 |
|
3 | module.exports = {
|
4 | title: 'Mirage - ROA Pattern Library',
|
5 | webpackConfig: require('./config/webpack.config.dev.js'),
|
6 | components: 'src/**/*.{js,jsx,ts,tsx}',
|
7 | styleguideComponents: {
|
8 | Wrapper: path.join(__dirname, 'src/core/theme')
|
9 | },
|
10 | theme: {
|
11 | maxWidth: 'auto'
|
12 | },
|
13 | template: {
|
14 | favicon: '//res.cloudinary.com/roa-canon/image/upload/v1508867160/favicon.ico',
|
15 | head: {
|
16 | scripts: [
|
17 | {src: 'https://use.typekit.net/bfw8xpa.js'},
|
18 | {src: 'src/theme/typekit.js'}
|
19 | ]
|
20 | }
|
21 | },
|
22 | ignore: [
|
23 | 'src/index.js',
|
24 | '**/index.js',
|
25 | 'src/setupTests.js',
|
26 | '**/theme/**/*.{js,jsx,ts,tsx}',
|
27 | '**/defaultProps.{js,jsx,ts,tsx}',
|
28 | '**/*.test.{js,jsx,ts,tsx}',
|
29 | '**/*.base.{js,jsx,ts,tsx}'
|
30 | ],
|
31 | pagePerSection: true
|
32 | }
|