mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(nitro): rename cold start -> nitro start (#3528)
This commit is contained in:
parent
78761c236b
commit
398b311ad6
@ -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)
|
||||
|
@ -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}');`,
|
||||
|
Loading…
Reference in New Issue
Block a user