update constants

This commit is contained in:
2022-02-26 12:06:41 -05:00
parent f6627580eb
commit f2fb718d0f
7 changed files with 24 additions and 15 deletions
+2
View File
@@ -0,0 +1,2 @@
// Next.js constants (not needed in frontend)
export const NOTES_DIR = "./notes";
-3
View File
@@ -41,7 +41,4 @@ module.exports = {
linkedin: "jakejarvis",
instagram: "jakejarvis",
},
// Next.js constants
NOTES_DIR: "./notes",
};
+2 -1
View File
@@ -8,7 +8,8 @@ import { compiler } from "markdown-to-jsx";
import removeMarkdown from "remove-markdown";
import sanitizeHtml from "sanitize-html";
import readingTime from "reading-time";
import { NOTES_DIR, baseUrl } from "./config";
import { baseUrl } from "./config";
import { NOTES_DIR } from "./config/constants";
// remark/rehype markdown plugins
import remarkGfm from "remark-gfm";