Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-francisco committed Sep 11, 2020
1 parent 4dd370a commit 9c26cc5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docusaurus/docs/adding-a-sass-stylesheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,11 @@ If you set `SASS_PATH=node_modules:src`, this will allow you to do imports like
> module.file_ext=.sass
> module.file_ext=.scss
> ```
## Using Dart SASS

`sass-loader` has its own heuristics to figure out if it should use Dart Sass or Node Sass depending on which one is installed. In the particular edge case where both are installed, and you cannot uninstall one of them, you can use `USE_DART_SASS=true` environment variable to force Dart Sass use.

```
USE_DART_SASS=true yarn start
```

0 comments on commit 9c26cc5

Please sign in to comment.