mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 23:21:09 +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
|
return options
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user