Skip to content

Switch from sassc to sass-embedded (Dart Sass) for faster builds#2669

Open
rolfedh wants to merge 1 commit into
quarkusio:mainfrom
rolfedh:switch-to-dart-sass
Open

Switch from sassc to sass-embedded (Dart Sass) for faster builds#2669
rolfedh wants to merge 1 commit into
quarkusio:mainfrom
rolfedh:switch-to-dart-sass

Conversation

@rolfedh
Copy link
Copy Markdown
Contributor

@rolfedh rolfedh commented Jun 1, 2026

Bump jekyll-sass-converter to ~> 3.0, which replaced sassc (LibSass) with sass-embedded (Dart Sass) in v3.0.0. Dart Sass ships prebuilt platform binaries, so bundle install no longer compiles a native C++ extension (the main install/CI bottleneck). Jekyll is already 4.4.1, which permits jekyll-sass-converter < 4.0, so no Jekyll bump is needed.

  • Gemfile: jekyll-sass-converter ~> 2.0 -> ~> 3.0
  • Gemfile.lock: drop sassc, add sass-embedded; add x86_64-linux platform (sass-embedded is platform-specific; CI runs on ubuntu-latest)
  • Rename _sass/includes/brand.css -> brand.scss: it uses Sass variables, which LibSass tolerated in imported .css but Dart Sass rejects as plain CSS
  • blog.scss: darken() -> color.adjust() (deprecated global color function)

Fixes #2551

** If you are updating a guide, please submit your pull request to the main repository: https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc **

Bump jekyll-sass-converter to ~> 3.0, which replaced sassc (LibSass)
with sass-embedded (Dart Sass) in v3.0.0. Dart Sass ships prebuilt
platform binaries, so bundle install no longer compiles a native C++
extension (the main install/CI bottleneck). Jekyll is already 4.4.1,
which permits jekyll-sass-converter < 4.0, so no Jekyll bump is needed.

- Gemfile: jekyll-sass-converter ~> 2.0 -> ~> 3.0
- Gemfile.lock: drop sassc, add sass-embedded; add x86_64-linux platform
  (sass-embedded is platform-specific; CI runs on ubuntu-latest)
- Rename _sass/includes/brand.css -> brand.scss: it uses Sass variables,
  which LibSass tolerated in imported .css but Dart Sass rejects as plain CSS
- blog.scss: darken() -> color.adjust() (deprecated global color function)

Fixes quarkusio#2551
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

🎊 PR Preview 0b9237b has been successfully built and deployed to https://quarkus-website-pr-2669-preview.surge.sh

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch from sassc to jekyll-sass-embedded for faster builds

1 participant