Skip to content

Releases: webpack/sass-loader

v8.0.0

29 Aug 15:02

Choose a tag to compare

⚠ BREAKING CHANGES

  • minimum required webpack version is 4.36.0
  • minimum required node.js version is 8.9.0
  • move all sass (includePaths, importer, functions) options to the sassOptions option. The functions option can't be used as Function, you should use sassOption as Function to achieve this.
  • the data option was renamed to the prependData option
  • default value of the sourceMap option depends on the devtool value (eval/false values don't enable source map generation)

Features

  • automatically use the fibers package if it is possible (#744) (96184e1)
  • source map generation depends on the devtool option (#743) (fcea88e)
  • validate loader options (#737) (7b543fc)
  • reworked error handling from node-sass/sass
  • improve resolution for @import (including support _index and index files in a directory)

Bug Fixes

  • compatibility with pnp

v7.3.1

20 Aug 14:04

Choose a tag to compare

7.3.1 (2019-08-20)

Bug Fixes

  • minimum node version in package.json (#733) (1175920)

v7.3.0

20 Aug 13:47

Choose a tag to compare

7.3.0 (2019-08-20)

Bug Fixes

Features

v7.2.0

08 Aug 16:45

Choose a tag to compare

7.2.0 (2019-08-08)

Bug Fixes

Features

  • allow passing functions option as function (#651) (6c9654d)
  • support data as Function (#648) (aa64e1b)
  • support sass and style fields in package.json (#647) (a8709c9)
  • support auto resolving dart-sass (ff90dd6)

v7.1.0

01 Aug 16:06
aada4c3

Choose a tag to compare

Features

v7.0.3

05 Jun 15:15
d0b35cb

Choose a tag to compare

Bug Fixes

v7.0.2

02 Jun 05:58
2efb8cf

Choose a tag to compare

Bug Fixes

  • Errors being swallowed when trying to load node-sass (#576) (6dfb274), closes #563
  • Report error to user for problems loading node-sass (#562) (2529c07)

v7.0.1

13 Apr 14:10
2759618

Choose a tag to compare

Bug Fixes

v7.0.0

13 Apr 07:14
a2c327b

Choose a tag to compare

Features

  • Refactor resolving and simplify webpack config aliases (#479) (e0fde1a)
  • Remove node-sass from peerDependencies (#533) (6439cef)

BREAKING CHANGES

  • Drop official node 4 support
  • This slightly changes the resolving algorithm. Should not break in normal usage, but might break in complex configurations.
  • The sass-loader throws an error at runtime now and refuses to compile if the peer dependency is wrong. This could break applications where npm's peer dependency warning was just ignored.

v6.0.7

03 Mar 00:19

Choose a tag to compare

2018-03-03

Bug Fixes

  • package: add webpack >= v4.0.0 (peerDependencies) (#541) (620bdd4)

Performance Improvements