Skip to content

Commit

Permalink
Minor corrections in README
Browse files Browse the repository at this point in the history
  • Loading branch information
webketje committed Oct 16, 2023
1 parent b69b8c8 commit 62455fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ build

### @import/ @use partials

Sass partials are processed by [dart-sass](https://sass-lang.com/dart-sass). @metalsmith/sass will gracefully handle in-source partials, but they will be read into memory by Metalsmith. If you don't need to preprocess sass partials with any other metalsmith plugin it is _better to store partials outside the source directory_, eg:
Sass partials are processed by [dart-sass](https://sass-lang.com/dart-sass). @metalsmith/sass will gracefully handle in-source partials, but they will be read into memory by Metalsmith. If you don't need to preprocess sass partials with any other metalsmith plugin you can save some disk reads by _storing partials outside the source directory_, eg:

```plaintext
my-blog
Expand Down Expand Up @@ -180,7 +180,7 @@ Metalsmith(__dirname)
}
}
})
.use(inPlace())
.use(inPlace('jstransformer-handlebars'))
.use(sass())
.build((err) => {
if (err) throw err
Expand All @@ -190,7 +190,7 @@ Metalsmith(__dirname)
### Debug
To enable debug logs, set the `DEBUG` environment variable to `@metalsmith/sass`:
To enable debug logs, set the `DEBUG` environment variable to `@metalsmith/sass*`:
```js
metalsmith.env('DEBUG', '@metalsmith/sass*')
Expand Down

0 comments on commit 62455fd

Please sign in to comment.