From 97f100e727094e46bf68bdc28b56d3623358e187 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sat, 5 Aug 2023 18:00:52 -0700 Subject: [PATCH] format, remove markdown from being procesed --- .prettierignore | 1 + quartz/build.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.prettierignore b/.prettierignore index 3c0687a5..2da3adff 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,3 +1,4 @@ public node_modules .quartz-cache +**/*.md diff --git a/quartz/build.ts b/quartz/build.ts index 9f38882b..ffa863c2 100644 --- a/quartz/build.ts +++ b/quartz/build.ts @@ -4,14 +4,14 @@ sourceMapSupport.install({ // source map hack to get around query param // import cache busting if (source.includes(".quartz-cache")) { - let realSource = fileURLToPath(source.split("?", 2)[0] + '.map') + let realSource = fileURLToPath(source.split("?", 2)[0] + ".map") return { - map: fs.readFileSync(realSource, 'utf8') + map: fs.readFileSync(realSource, "utf8"), } } else { return null } - } + }, }) import path from "path"