Skip to content

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

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

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

@rolfedh rolfedh commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown

🙈 The PR is closed and the preview is expired.

@rolfedh

rolfedh commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Closing as superseded by the Roq migration (#2683). The site is moving off Jekyll to Roq, so swapping sassc for sass-embedded on the soon-to-be-retired Jekyll build is no longer worth pursuing. Thanks all!

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