From cfdccef8689c11e554d5e0246b82e031e9fe7f14 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Sun, 7 Jan 2024 12:45:49 -0600 Subject: [PATCH] attempt to fix build error --- lib/transformer.js | 3 --- netlify.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/transformer.js b/lib/transformer.js index cc5d865..0f0b52a 100644 --- a/lib/transformer.js +++ b/lib/transformer.js @@ -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 } diff --git a/netlify.toml b/netlify.toml index 61ddca7..1190a01 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] command = "npm run build" -publish = "out" +publish = ".next" [[plugins]] package = "@netlify/plugin-nextjs"