Skip to content

Commit

Permalink
docs: updated link to compiler options for scss & sass (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondiel committed Jul 22, 2022
1 parent a7d12e2 commit 81f0b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/preprocessing.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ The `scss/sass` preprocessor accepts the default sass options alongside two othe
| `renderSync` | `false` | if `true`, use the sync render method which is faster for dart sass. |
| `implementation` | `undefined` | pass the module to use to compile sass, if unspecified, `svelte-preprocess` will first look for `node-sass` and then for Sass. |

You can check the [Sass API reference](https://sass-lang.com/documentation/js-api) for specific Sass options. The `file` and `data` properties are not supported. Instead, use the `prependData` property if you want to prepend some content to your `scss` content.
You can check the [Sass API reference](https://sass-lang.com/documentation/js-api/modules#LegacyOptions) for specific Sass options. The `file` and `data` properties are not supported. Instead, use the `prependData` property if you want to prepend some content to your `scss` content.

Note: `svelte-preprocess` automatically configures inclusion paths for your root directory, `node_modules` and for the current file's directory.

Expand Down

0 comments on commit 81f0b13

Please sign in to comment.