Skip to content

Commit

Permalink
Merge pull request ember-cli#72 from wattyrevBT/master
Browse files Browse the repository at this point in the history
Update the readme about intermediateOutputPath in Ember Addons
  • Loading branch information
dfreeman authored Jun 7, 2017
2 parents 053a496 + 9e6d258 commit 96e8ef4
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 96e8ef4

Please sign in to comment.