Skip to content

Commit

Permalink
Fix docs about dependantFiles option
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta committed Feb 21, 2017
1 parent 55188ae commit b59b352
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api.ru.md
Expand Up @@ -43,18 +43,18 @@ borschik

#### dependantFiles

Тип: `String[]` или `Object`. По умолчанию: `[]`.
Тип: `String[]` или `Object[]`. По умолчанию: `[]`.

Имена файлов, после сборки которых запустится обработка исходного файла с помощью `borschik`.

Опция ожидает объект, где ключ это путь к ноде, а значение — массив файлов из указанной ноды.
Опция ожидает массив объектов, где ключ это путь к ноде, а значение — массив файлов из указанной ноды.

```js
{
dependantFiles: {
dependantFiles: [{
'path/to/index': ['index.css', 'index.js'],
'path/to/keyboard': ['keyboard.css', 'keyboard.js']
}
}]
}
```

Expand Down

0 comments on commit b59b352

Please sign in to comment.