1.0.2 • Published 3 years ago
nuxt-log-generate-errors v1.0.2
Nuxt-module for logging errors during static generation
Write a log to a file or send a request via net
Install
nmp install -D nuxt-logs-generate-errors
// nuxt.config.js
module.exports = {
buildModules: [
['nuxt-log-generate-errors', {file: 'generate-errors-log.json'}]
],
}
Options
interface moduleOptions {
file?: string
http?: {
url: string,
method?: string // default POST
headers?: {[key: string]: string}
}
}