Skip to content

Commit

Permalink
Update the readme about intermediateOutputPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer Watson authored Jun 7, 2017
1 parent 053a496 commit 9e6d258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,8 @@ And then in your `app.scss`, simply import it:
@import 'modules';
```

When using the `intermediateOutputPath` option in an addon, the point of reference is different. For example, if I want ember-css-modules to ouput an intermediate file at `my-app/addon/styles/_modules.scss`, I should set the `intermediateOutputPath` to `_modules.scss`.

#### Custom syntax directly in modules

The second approach is viable for preprocessors for which there is a PostCSS syntax extension, such as [Sass](https://github.com/postcss/postcss-scss) and (at least partially) [Less](https://github.com/gilt/postcss-less). It allows for using custom preprocessor syntax directly in CSS modules, handing off the concatenated final output directly to the preprocessor.
Expand Down

0 comments on commit 9e6d258

Please sign in to comment.