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 { export class Transformer {
static haveFrontMatter = (content) => { static haveFrontMatter = (content) => {
// console.log("\t Front matter data content", content)
if (content === (null | undefined | '')) return false if (content === (null | undefined | '')) return false
const indexOfFirst = content.indexOf('---') const indexOfFirst = content.indexOf('---')
// console.log("\t Front matter data firstIndex ", indexOfFirst)
// console.log("index first", indexOfFirst)
if (indexOfFirst === -1) { if (indexOfFirst === -1) {
return false return false
} }

View File

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