feat: add optional verified Dart Sass installation (#769)

This commit is contained in:
Shohei Ueda
2026-11-16 15:57:38 +09:00
committed by GitHub
parent e4550112cd
commit c02355f4df
11 changed files with 647 additions and 1 deletions
@@ -0,0 +1,5 @@
@use 'sass:math';
$width: math.div(12px, 3);
.dart-sass-fixture {
width: $width;
}
+2
View File
@@ -0,0 +1,2 @@
baseURL = 'https://example.org/'
disableKinds = ['taxonomy', 'term', 'RSS', 'sitemap']
@@ -0,0 +1,2 @@
{{ $css := resources.Get "main.scss" | css.Sass (dict "transpiler" "dartsass" "targetPath" "css/main.css") }}
<!doctype html><html><head><link rel="stylesheet" href="{{ $css.RelPermalink }}"></head><body>Dart Sass integration</body></html>