Skip to content

Commit

Permalink
Fix: Allow assetsDir to be an array (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
derz authored and Artem Sapegin committed Oct 8, 2018
1 parent 4522dd9 commit 11e1138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ By default, Styleguidist will look for `styleguide.config.js` file in your proje

#### `assetsDir`

Type: `String`, optional
Type: `String` or `Array`, optional

Your application static assets folder, will be accessible as `/` in the style guide dev server.

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/schemas/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const consts = require('../consts');

module.exports = {
assetsDir: {
type: 'existing directory path',
type: ['array', 'existing directory path'],
example: 'assets',
},
compilerConfig: {
Expand Down

0 comments on commit 11e1138

Please sign in to comment.