Skip to content

Commit

Permalink
clarified target root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
EtaiG committed Jun 13, 2016
1 parent b10701c commit a129471
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ How can the compilation be optimized? If compilation of a sass a file would have

The module should receive an array of source directories/patterns as input, i.e. using [glob](https://github.com/isaacs/node-glob), [minimatch](https://github.com/isaacs/minimatch) or the like, for example:
```
['src/components/**/*', 'src/widgets/**/*']
['components/**/*', 'widgets/**/*']
```
The pattern represents where the Sass files are located, and a target directory root which represents where the css files are written to using the same patterns applied to the target root directory.

The pattern represents where the Sass files are located, and a **target directory root**, such as ```'target/'``` which represents where the css files are written to using the same patterns of the source files, applied to the target root directory.

For example, if you received ```['components/**/*', 'widgets/**/*']``` as a the source patterns, then the css would be written at ```['target/components/**/*', 'target/widgets/**/*']``` respectively.


Your output should be an array of the files which need to be compiled.

Expand Down

0 comments on commit a129471

Please sign in to comment.