attempt to fix build error

This commit is contained in:
Triston Armstrong 2024-01-07 12:45:49 -06:00
parent e964893b13
commit cfdccef868
2 changed files with 1 additions and 4 deletions

View File

@ -15,11 +15,8 @@ import Utils from '../lib/utils.js'
export class Transformer {
static haveFrontMatter = (content) => {
// console.log("\t Front matter data content", content)
if (content === (null | undefined | '')) return false
const indexOfFirst = content.indexOf('---')
// console.log("\t Front matter data firstIndex ", indexOfFirst)
// console.log("index first", indexOfFirst)
if (indexOfFirst === -1) {
return false
}

View File

@ -1,6 +1,6 @@
[build]
command = "npm run build"
publish = "out"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs"