MCPcopy
hub / github.com/vitejs/vite / warnOnce

Method warnOnce

packages/vite/src/node/baseEnvironment.ts:82–87  ·  view source on GitHub ↗
(msg, opts)

Source from the content-addressed store, hash-verified

80 })
81 },
82 warnOnce(msg, opts) {
83 return topLevelConfig.logger.warnOnce(msg, {
84 ...opts,
85 environment: colors.yellow(environment),
86 })
87 },
88 error(msg, opts) {
89 return topLevelConfig.logger.error(msg, {
90 ...opts,

Callers

nothing calls this directly

Calls 1

warnOnceMethod · 0.65

Tested by

no test coverage detected