fix: using gitkeep instead of creating the folder

This commit is contained in:
Laureηt 2022-01-24 19:13:01 +01:00
parent 05372ba464
commit 774edad346
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 2 additions and 10 deletions

View file

@ -29,14 +29,6 @@ module.exports = function (eleventyConfig) {
});
eleventyConfig.on("eleventy.before", async () => {
// mkdir ./src/_includes/css/ if necessary
fs.mkdir("./src/_includes/css/", (err) => {
if (err) {
return console.error(err);
}
console.log("Directory created successfully!");
});
// iterate over scss files
let files = fs.readdirSync("./src/scss/");
files.forEach((file) => {

4
.gitignore vendored
View file

@ -2,7 +2,7 @@ node_modules/
_site/
content/
report/
src/_includes/css
src/_includes/css/*.css
*.log

View file