Skip to content

Releases: webpack-contrib/sass-loader

v10.0.0

24 Aug 19:06
Compare
Choose a tag to compare

10.0.0 (2020-08-24)

Bug Fixes

  • handle absolute windows path in source maps

See notes for https://github.com/webpack-contrib/sass-loader/releases/tag/v10.0.0-rc.0 release

v9.0.3

05 Aug 13:14
Compare
Choose a tag to compare

9.0.3 (2020-08-05)

Bug Fixes

v9.0.2

07 Jul 15:29
Compare
Choose a tag to compare

9.0.2 (2020-07-07)

Bug Fixes

v9.0.1

03 Jul 13:50
Compare
Choose a tag to compare

9.0.1 (2020-07-03)

Bug Fixes

v9.0.0

02 Jul 14:56
Compare
Choose a tag to compare

9.0.0 (2020-07-02)

⚠ BREAKING CHANGES

  • minimum supported Nodejs version is 10.13
  • prefer sass (dart-sass) by default, it is strongly recommended to migrate on sass (dart-sass)
  • the prependData option was removed in favor the additionalData option, see docs
  • when the sourceMap is true, sassOptions.sourceMap, sassOptions.sourceMapContents, sassOptions.sourceMapEmbed, sassOptions.sourceMapRoot and sassOptions.omitSourceMapUrl will be ignored.

Features

  • pass the loader context to custom importers under the this.webpackLoaderContext property (#853) (d487683)
  • supports for process.cwd() resolution logic by default (#837) (0c8d3b3)
  • supports for SASS-PATH env variable resolution logic by default (#836) (8376179)
  • supports for the sass property for the exports field from package.json (conditional exports, for more information read docs)

Bug Fixes

  • avoid different content on different os (#832) (68dd278)
  • resolution logic when the includePaths option used was improved (#827) (cbe5ad4)
  • resolution logic for file:// scheme was improved (17832fd)
  • resolution logic for absolute paths and server relative URLs was improved
  • source maps generation was improved

v8.0.2

13 Jan 13:19
Compare
Choose a tag to compare

8.0.2 (2020-01-13)

Bug Fixes

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