Skip to content

Commit d3b19f9

Browse files
monish001amyrlam
authored andcommitted
Add clarifying documentation for how to add a sass stylesheet on Windows (#6322)
1 parent 5c637a4 commit d3b19f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docusaurus/docs/adding-a-sass-stylesheet.md

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ If you set `SASS_PATH=node_modules:src`, this will allow you to do imports like
4242
@import 'nprogress/nprogress'; // importing a css file from the nprogress node module
4343
```
4444

45+
> **Note:** For windows operating system, use below syntax
46+
>
47+
> ```
48+
> SASS_PATH=./node_modules;./src
49+
> ```
50+
4551
> **Tip:** You can opt into using this feature with [CSS modules](adding-a-css-modules-stylesheet.md) too!
4652
4753
> **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.

0 commit comments

Comments
 (0)