diff --git a/docs/content/3.docs/3.deployment/99.presets/server.md b/docs/content/3.docs/3.deployment/99.presets/server.md index 86f0cab62f..ef9a87623c 100644 --- a/docs/content/3.docs/3.deployment/99.presets/server.md +++ b/docs/content/3.docs/3.deployment/99.presets/server.md @@ -69,7 +69,7 @@ export default { ```bash $ node .output/server/index.mjs -> Cold Start (3ms) +> Nitro Start (3ms) Listening on http://localhost:3000 > Load chunks/nitro/static (0ms) > Load chunks/app/render (1ms) diff --git a/packages/nitro/src/rollup/plugins/timing.ts b/packages/nitro/src/rollup/plugins/timing.ts index 5b3a0797a6..9aa86cc5e0 100644 --- a/packages/nitro/src/rollup/plugins/timing.ts +++ b/packages/nitro/src/rollup/plugins/timing.ts @@ -33,7 +33,7 @@ export function timing (_opts: Options = {}): Plugin { let name = chunk.fileName || '' name = name.replace(extname(name), '') - const logName = name === 'index' ? 'Cold Start' : ('Load ' + name) + const logName = name === 'index' ? 'Nitro Start' : ('Load ' + name) return { code: (chunk.isEntry ? HELPERIMPORT : '') + `${TIMING}.logStart('${logName}');` + code + `;${TIMING}.logEnd('${logName}');`,