Skip to content

Releases: bazelbuild/rules_sass

0.1.0

05 Jun 18:19
Compare
Choose a tag to compare

This release:

  • Switches the default compiler from libsass (via sassc) to dart-sass (via the JavaScript-compiled distribution on npm). The Dart compiler is now the canonical implementation and is actively maintained by the Sass owners.
  • Updates the rule APIs to match the API of Google's internal Sass rules so that these rules can then replace the existing Sass rules inside Google. This is largely adding additional attributes to sass_binary, excepting the breaking changes listed below.

New features

Sass binary now supports three new attributes: include_paths, output_dir, and output_name. See the README for more information on these attributes.

Breaking changes

  • Additional setup in a project's WORKSPACE file is now required; see the README for more information.
  • The default output filename for sass_binary is now based on the src filename instead of the name of the rule. For example, if your input src file is material-button.scss, the default output filename will be material-button.css. The name can be customized via the output_name attribute.
  • While the Dart compiler should match the libsass compiler's behavior, it is possible some minor differences in CSS output may occur.

0.0.3

29 Aug 13:37
Compare
Choose a tag to compare

Changes:

  • Compatibility with future versions of Bazel

0.0.2

09 Feb 20:18
Compare
Choose a tag to compare

Major changes:

  • Fixes build by providing cfg parameter for executable labels
  • Use Bazel mirror to download external dependencies
  • Update setup instructions