Compile sass on build

feat/theme-v2
Benjamin Bädorf 2022-11-27 15:17:32 +01:00
parent e9b0654a85
commit 3c8ef7c3d2
No known key found for this signature in database
GPG Key ID: 4406E80E13CD656C
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ pkgs.stdenv.mkDerivation {
src = pkgs.lib.cleanSource ../.;
installPhase = ''
${pkgs.sassc}/bin/sassc "./common/resources/scss/index.scss" > "./common/resources/css/index.css"
mkdir $out
cp -r account $out/
cp -r login $out/