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
prependDataoption was removed in favor theadditionalDataoption, see docs - when the
sourceMapistrue,sassOptions.sourceMap,sassOptions.sourceMapContents,sassOptions.sourceMapEmbed,sassOptions.sourceMapRootandsassOptions.omitSourceMapUrlwill be ignored.
Features
- pass the loader context to custom importers under the
this.webpackLoaderContextproperty (#853) (d487683) - supports for
process.cwd()resolution logic by default (#837) (0c8d3b3) - supports for
SASS-PATHenv variable resolution logic by default (#836) (8376179) - supports for the
sassproperty for theexportsfield frompackage.json(conditional exports, for more information read docs)
Bug Fixes
- avoid different content on different os (#832) (68dd278)
- resolution logic when the
includePathsoption 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