move to dart-sass
just found it in my tree
This commit is contained in:
parent
8a9c4dc46e
commit
7841dedbd0
@ -16,14 +16,13 @@
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
devDeps = with pkgs; [hugo brotli zopfli parallel];
|
||||
devDeps = with pkgs; [hugo brotli zopfli parallel dart-sass];
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
||||
packages = devDeps;
|
||||
};
|
||||
|
||||
# TODO: cache
|
||||
defaultPackage = pkgs.stdenv.mkDerivation {
|
||||
pname = "jakstys.lt";
|
||||
version = "1.0.0";
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
{{ partial "html-meta.html" . -}}
|
||||
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||
{{ $css := resources.Get "_/styles.scss" | resources.ToCSS (dict "enableSourceMap" true) | resources.Minify | resources.Fingerprint }}
|
||||
{{ $css := resources.Get "_/styles.scss" | resources.ToCSS (dict "enableSourceMap" false "transpiler" "dartsass") | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
{{ with .Site.Params.favicon -}}
|
||||
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
|
||||
|
Loading…
Reference in New Issue
Block a user