Skip to content

Commit 9c26cc5

Browse files
Update docs
1 parent 4dd370a commit 9c26cc5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,11 @@ If you set `SASS_PATH=node_modules:src`, this will allow you to do imports like
6161
> module.file_ext=.sass
6262
> module.file_ext=.scss
6363
> ```
64+
65+
## Using Dart SASS
66+
67+
`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.
68+
69+
```
70+
USE_DART_SASS=true yarn start
71+
```

0 commit comments

Comments
 (0)