attempt to fix build error
This commit is contained in:
parent
e964893b13
commit
cfdccef868
@ -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
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
[build]
|
||||
command = "npm run build"
|
||||
publish = "out"
|
||||
publish = ".next"
|
||||
|
||||
[[plugins]]
|
||||
package = "@netlify/plugin-nextjs"
|
||||
|
Loading…
Reference in New Issue
Block a user