update tsconfig and packages

This commit is contained in:
somrat sorkar
2023-05-09 13:11:19 +06:00
parent a731b52259
commit d5adbb8875
38 changed files with 162 additions and 154 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { slugify } from "@lib/utils/textConverter";
import { slugify } from "@/lib/utils/textConverter";
const taxonomyFilter = (posts: any[], name: string, key: any) =>
posts.filter((post) =>
+5
View File
@@ -1,6 +1,11 @@
import { slug } from 'github-slugger';
import { marked } from "marked";
marked.use({
mangle: false,
headerIds: false,
});
// slugify
export const slugify = (content: string) => {
if (!content) return null;