chore: update to next 11 and tailwind 2.2

This commit is contained in:
Timothy Lin
2021-06-23 18:32:29 +08:00
parent 1bfd8c0da4
commit c479867650
9 changed files with 2012 additions and 11789 deletions

View File

@ -100,7 +100,7 @@ export async function getAllFilesFrontMatter(folder) {
const fileName = file.slice(prefixPaths.length + 1).replace(/\\/g, '/')
// Remove Unexpected File
if (path.extname(fileName) !== '.md' && path.extname(fileName) !== '.mdx') {
return
return
}
const source = fs.readFileSync(file, 'utf8')
const { data } = matter(source)