mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(config): enable total timing by default when server.timing
is enabled (#6371)
This commit is contained in:
parent
eadde4e88c
commit
8ccca220ed
@ -390,5 +390,10 @@ export function getNuxtConfig (_options) {
|
||||
}
|
||||
}
|
||||
|
||||
const { timing } = options.server
|
||||
if (timing) {
|
||||
options.server.timing = { total: true, ...timing }
|
||||
}
|
||||
|
||||
return options
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user