Skip to content

Commit

Permalink
Update to support sass-loader 8.x (#2223)
Browse files Browse the repository at this point in the history
* Update to support sass-loader 8.x

Fixes the ValidationError when building, caused by sass-loader moving
node/dart-sass options to a special `sassOptions` property.

* Update shrinkwrap to satisfy Travis/AppVeyor

* Fix tests
  • Loading branch information
dshoreman authored and JeffreyWay committed Sep 16, 2019
1 parent 51416c1 commit 719edb1
Show file tree
Hide file tree
Showing 5 changed files with 648 additions and 382 deletions.
4 changes: 3 additions & 1 deletion docs/css-preprocessors.md
Expand Up @@ -60,7 +60,9 @@ Behind the scenes, Laravel Mix of course defers to Sass (Dart implementation), L

```js
mix.sass('src', 'destination', {
outputStyle: 'nested',
sassOptions: {
outputStyle: 'nested',
},
implementation: require('node-sass') // Switch from Dart to node-sass implementation
});
```
Expand Down

0 comments on commit 719edb1

Please sign in to comment.