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 {
|
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
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user