A webpack loader for Sass/SCSS that claims 5-10x faster compilation than sass-loader by deduplicating @imports, merging all Sass files into a single compile unit, and caching results internally. Version 2.x switched from node-sass to dart-sass (npm 'sass') as the default compiler, with an `implementation` option to restore node-sass. It also provides built-in url() resolution, eliminating the need for resolve-url-loader. Key trade-offs include no source map support and limited loader configuration compared to sass-loader. Release cadence is low; last update was 2020. Requires webpack 1–5 and sass 1.x as peer dependencies.
npm install fast-sass-loaderVerified import paths — ran on the pinned version, not inferred.
Shows a basic webpack config using fast-sass-loader with includePaths and data options, paired with css-loader.
Set options.implementation to require('node-sass') in webpack config, or migrate to dart-sass syntax.Switch to sass-loader or disable source map requirement for Sass.
Refer to the fast-sass-loader documentation for supported options; common missing options include 'sourceMap' and 'outputStyle'.
Consider sass-loader for active support, or fork the project to apply updates.
npm install sass --save-dev
Install either: npm install sass --save-dev OR npm install node-sass --save-dev
Upgrade webpack to version 4 or later, or pin fast-sass-loader to version 1.x.