Skip to content

Commit

Permalink
fix: rename cold start -> nitro start (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Mar 7, 2022
1 parent 0b55f3c commit bba998b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/plugins/timing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function timing (_opts: Options = {}): Plugin {
renderChunk (code, chunk: RenderedChunk) {
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 ? HELPER : '') + `${TIMING}.logStart('${logName}');` + code + `;${TIMING}.logEnd('${logName}');`,
map: null
Expand Down

0 comments on commit bba998b

Please sign in to comment.