diff --git a/packages/kit/src/module/define.ts b/packages/kit/src/module/define.ts index e9bd23d0ad..360d1a14db 100644 --- a/packages/kit/src/module/define.ts +++ b/packages/kit/src/module/define.ts @@ -77,7 +77,7 @@ export function defineNuxtModule (definition: Mo const setupTime = perf ? Math.round((perf.duration * 100)) / 100 : 0 // TODO: remove when Node 14 reaches EOL // Measure setup time - if (setupTime > 5000) { + if (setupTime > 5000 && uniqueKey !== '@nuxt/telemetry') { logger.warn(`Slow module \`${uniqueKey || ''}\` took \`${setupTime}ms\` to setup.`) } else if (nuxt.options.debug) { logger.info(`Module \`${uniqueKey || ''}\` took \`${setupTime}ms\` to setup.`)