Socket
Socket
Sign inDemoInstall

sass-loader

Package Overview
Dependencies
Maintainers
9
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sass-loader - npm Package Versions

23
11

16.0.1

Diff

Changelog

Source

16.0.1 (2024-08-19)

Bug Fixes

  • generate correct sourceMaps for modern-compiler api (#1228) (f862f7a)
evilebottnawi
published 16.0.0 •

Changelog

Source

16.0.0 (2024-07-26)

⚠ BREAKING CHANGES

  • use modern Sass JS API by default for sass and sass-embedded

[!WARNING]

The sass options are different for the legacy (before) and modern APIs. Please look at docs how to migrate to the modern options. Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/ Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/

To return to the previous logic use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: [
          "style-loader",
          "css-loader",
          {
            loader: "sass-loader",
            options: {
              api: "legacy",
              // Your options
            },
          },
        ],
      },
    ],
  },
};

Features

  • use modern Sass JS API by default for sass and sass-embedded (10be1ba)
evilebottnawi
published 15.0.0 •

Changelog

Source

15.0.0 (2024-07-23)

⚠ BREAKING CHANGES

  • prefer sass-embedded over sass by default (#1211)

Features

evilebottnawi
published 14.2.1 •

Changelog

Source

14.2.1 (2024-04-16)

Bug Fixes

evilebottnawi
published 14.2.0 •

Changelog

Source

14.2.0 (2024-04-11)

Features

  • added the modern-compiler value for API to reuse compiler process (#1195) (cef40a8)
  • support webpack built-in resolver for modern and modern-compiler API (#1197) (2265b72)

Notes:

Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.

evilebottnawi
published 14.1.1 •

Changelog

Source

14.1.1 (2024-02-19)

Bug Fixes

evilebottnawi
published 14.1.0 •

Changelog

Source

14.1.0 (2024-01-30)

Features

  • add @rspack/core as an optional peer dependency (#1184) (637ba5b)
evilebottnawi
published 14.0.0 •

Changelog

Source

14.0.0 (2024-01-15)

⚠ BREAKING CHANGES

  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
evilebottnawi
published 10.5.2 •

evilebottnawi
published 13.3.3 •

Changelog

Source

13.3.3 (2023-12-25)

Bug Fixes

23
11
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc