Skip to content

Commit

Permalink
fixing hugo with nix
Browse files Browse the repository at this point in the history
  • Loading branch information
sciabarracom committed Jul 6, 2024
1 parent fd07b29 commit 3af4165
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
use nix
layout node
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@
"update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"hugo-extended": "0.127.0",
"postcss": "^8.4.39",
"postcss-cli": "^11.0.0"
}
}
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: [
require('autoprefixer')
]
};
5 changes: 5 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@ in
pkgs.mkShellNoCC {
packages = with pkgs; [
hugo
go_1_21
nodejs_20
];
shellHook = ''
npm install -D postcss postcss-cli autoprefixer
'';
}

0 comments on commit 3af4165

Please sign in to comment.