Skip to content

Commit 61cde16

Browse files
committed
docs: ✏️ add note about automatic default inclusion paths
1 parent d812bf1 commit 61cde16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: docs/preprocessing.md

+6
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ The CoffeeScript processor accepts no extra options and only transpiles CoffeeSc
269269

270270
You can check the [Less API reference](http://lesscss.org/usage/#less-options) for Less specific options.
271271

272+
Note: `svelte-preprocess` automatically configures inclusion paths for your root directory, `node_modules` and for the current file's directory.
273+
272274
### PostCSS / SugarSS
273275

274276
The PostCSS preprocessor accepts three options:
@@ -339,6 +341,8 @@ The `scss/sass` preprocessor accepts the default sass options alongside two othe
339341

340342
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.
341343

344+
Note: `svelte-preprocess` automatically configures inclusion paths for your root directory, `node_modules` and for the current file's directory.
345+
342346
Note: when a `lang="sass"`/`type="text/sass"` is found, `indentedSyntax` is automatically set to `true`.
343347

344348
Note: `sass`, with indented syntax, and `scss` are not interchangeable so make sure to configure the correct one that fits your needs.
@@ -347,6 +351,8 @@ Note: `sass`, with indented syntax, and `scss` are not interchangeable so make s
347351

348352
You can check the [Stylus API reference](https://stylus-lang.com/docs/js.html) for specific Stylus options. The `filename` property is overridden.
349353

354+
Note: `svelte-preprocess` automatically configures inclusion paths for your root directory, `node_modules` and for the current file's directory.
355+
350356
### TypeScript
351357

352358
| Option | Default | Description |

0 commit comments

Comments
 (0)