chore: remove debug logs
This commit is contained in:
parent
11cc156661
commit
53f2ce599a
|
@ -84,8 +84,6 @@ function buildMarkdownPages() {
|
|||
)
|
||||
).toString();
|
||||
|
||||
console.log(markdown);
|
||||
|
||||
const result = template({
|
||||
...getData(),
|
||||
markdown,
|
||||
|
@ -122,15 +120,11 @@ function buildStyles() {
|
|||
if (!fs.existsSync("./build/styles")) fs.mkdirSync("./build/styles");
|
||||
if (!fs.existsSync("./sass")) return;
|
||||
fs.readdirSync("./sass").forEach((file) => {
|
||||
console.log(1);
|
||||
if (!(file.endsWith(".scss") || file.endsWith(".sass"))) return;
|
||||
console.log(2);
|
||||
if (file.startsWith("_")) return;
|
||||
console.log(3);
|
||||
const result = sass.compile(`./sass/${file}`, {
|
||||
style: "compressed",
|
||||
});
|
||||
console.log(4);
|
||||
fs.writeFileSync("./build/styles/styles.css", result.css);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue