Skip to content

Releases: webpack-contrib/sass-loader

v8.0.1

10 Jan 14:32
Compare
Choose a tag to compare

8.0.1 (2020-01-10)

Bug Fixes

v8.0.0

29 Aug 15:02
Compare
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
Compare
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
Compare
Choose a tag to compare

7.3.0 (2019-08-20)

Bug Fixes

Features

v7.2.0

08 Aug 16:45
Compare
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
Compare
Choose a tag to compare

Features

v7.0.3

05 Jun 15:15
d0b35cb
Compare
Choose a tag to compare

Bug Fixes

v7.0.2

02 Jun 05:58
2efb8cf
Compare
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
Compare
Choose a tag to compare

Bug Fixes

v7.0.0

13 Apr 07:14
a2c327b
Compare
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.