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

Method type

packages/vite/src/node/server/mixedModuleGraph.ts:143–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 this._set('file', value)
142 }
143 get type(): 'js' | 'css' | 'asset' {
144 return this._get('type')
145 }
146 // `info` needs special care as it's defined as a proxy in `pluginContainer`,
147 // so we also merge it as a proxy too
148 get info(): ModuleInfo | undefined {

Callers

nothing calls this directly

Calls 1

_getMethod · 0.95

Tested by

no test coverage detected