feat: show logs for netlify debug

This commit is contained in:
Ayo Ayco 2024-12-31 02:12:41 +01:00
parent daffebd733
commit 2638b28533

View file

@ -35,9 +35,7 @@ export function useMcFlyRoute({ storage }) {
const { components: componentType } = config const { components: componentType } = config
let html = await getHtml(path, storage) let html = await getHtml(path, storage)
if (config?.server?.logs) {
consola.info('[INFO]: Config found\n', config) consola.info('[INFO]: Config found\n', config)
}
if (html) { if (html) {
const transforms = [evaluateServerScript, deleteServerScripts] const transforms = [evaluateServerScript, deleteServerScripts]