Skip to content

Commit

Permalink
Merge pull request #42 from rollup-umd/dev
Browse files Browse the repository at this point in the history
fix(exampleMode): expand
  • Loading branch information
kopax authored Mar 7, 2019
2 parents 2095c14 + 44e8955 commit a4a3f7e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/createConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,13 @@ export function createConfig(config = {}, options = {}) {
...userRequireConfig || [],
],
styleguideDir: 'public',
components: 'src/components/**/[A-Z]*.js',
components: [
'src/components/**/[A-Z]*.js',
'src/components/**/[A-Z]*/index.js',
],
previewDelay: 500,
skipComponentsWithoutExample: false,
exampleMode: 'collapse',
exampleMode: 'expand',
usageMode: 'expand',
showSidebar: true,
styles: {},
Expand Down

0 comments on commit a4a3f7e

Please sign in to comment.