v9.0.0
alexander-akait
released this
02 Jul 14:56
·
234 commits
to master
since this release
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 onsass
(dart-sass
) - the
prependData
option was removed in favor theadditionalData
option, see docs - when the
sourceMap
istrue
,sassOptions.sourceMap
,sassOptions.sourceMapContents
,sassOptions.sourceMapEmbed
,sassOptions.sourceMapRoot
andsassOptions.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 theexports
field frompackage.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