Skip to content

Commit

Permalink
Add clarifying documentation for how to add a sass stylesheet on Wind…
Browse files Browse the repository at this point in the history
…ows (#6322)
  • Loading branch information
monish001 authored and amyrlam committed Mar 24, 2019
1 parent 5c637a4 commit d3b19f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docusaurus/docs/adding-a-sass-stylesheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ If you set `SASS_PATH=node_modules:src`, this will allow you to do imports like
@import 'nprogress/nprogress'; // importing a css file from the nprogress node module
```

> **Note:** For windows operating system, use below syntax
>
> ```
> SASS_PATH=./node_modules;./src
> ```
> **Tip:** You can opt into using this feature with [CSS modules](adding-a-css-modules-stylesheet.md) too!
> **Note:** If you're using Flow, override the [module.file_ext](https://flow.org/en/docs/config/options/#toc-module-file-ext-string) setting in your `.flowconfig` so it'll recognize `.sass` or `.scss` files. You will also need to include the `module.file_ext` default settings for `.js`, `.jsx`, `.mjs` and `.json` files.
Expand Down

0 comments on commit d3b19f9

Please sign in to comment.