resolveId() — vite Function Reference
Architecture documentation for the resolveId() function in pluginContainer.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD acb05845_9984_6792_9aae_b58486b613b5["resolveId()"] e095f407_f809_eb3e_608e_d152e6847d0a["PluginContainer"] acb05845_9984_6792_9aae_b58486b613b5 -->|defined in| e095f407_f809_eb3e_608e_d152e6847d0a c3f72447_6ade_7e1a_5913_f1b30ae4a31f["resolveId()"] c3f72447_6ade_7e1a_5913_f1b30ae4a31f -->|calls| acb05845_9984_6792_9aae_b58486b613b5 ad008126_fbbe_c1e5_bb1b_3d9b84539e52["createIdResolver()"] ad008126_fbbe_c1e5_bb1b_3d9b84539e52 -->|calls| acb05845_9984_6792_9aae_b58486b613b5 6e6d9ef8_8985_1977_b0ea_4f37e4502554["computeEntries()"] 6e6d9ef8_8985_1977_b0ea_4f37e4502554 -->|calls| acb05845_9984_6792_9aae_b58486b613b5 01ea698c_723c_af06_e469_c7d7c469b6bb["rolldownScanPlugin()"] 01ea698c_723c_af06_e469_c7d7c469b6bb -->|calls| acb05845_9984_6792_9aae_b58486b613b5 6ea66dc7_258c_4d4e_457c_a36e57776e88["constructor()"] 6ea66dc7_258c_4d4e_457c_a36e57776e88 -->|calls| acb05845_9984_6792_9aae_b58486b613b5 9bd7b32c_5b79_ac16_8541_4f64cc8ce19b["doTransform()"] 9bd7b32c_5b79_ac16_8541_4f64cc8ce19b -->|calls| acb05845_9984_6792_9aae_b58486b613b5 bdc17ca5_0ac7_3179_22ec_ade8f3ccd777["_getPluginContainer()"] acb05845_9984_6792_9aae_b58486b613b5 -->|calls| bdc17ca5_0ac7_3179_22ec_ade8f3ccd777 c3f72447_6ade_7e1a_5913_f1b30ae4a31f["resolveId()"] acb05845_9984_6792_9aae_b58486b613b5 -->|calls| c3f72447_6ade_7e1a_5913_f1b30ae4a31f style acb05845_9984_6792_9aae_b58486b613b5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/server/pluginContainer.ts lines 1265–1283
async resolveId(
rawId: string,
importer?: string,
options?: {
attributes?: Record<string, string>
custom?: CustomPluginOptions
/** @deprecated use `skipCalls` instead */
skip?: Set<Plugin>
skipCalls?: readonly SkipInformation[]
ssr?: boolean
/**
* @internal
*/
scan?: boolean
isEntry?: boolean
},
): Promise<PartialResolvedId | null> {
return this._getPluginContainer(options).resolveId(rawId, importer, options)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does resolveId() do?
resolveId() is a function in the vite codebase, defined in packages/vite/src/node/server/pluginContainer.ts.
Where is resolveId() defined?
resolveId() is defined in packages/vite/src/node/server/pluginContainer.ts at line 1265.
What does resolveId() call?
resolveId() calls 2 function(s): _getPluginContainer, resolveId.
What calls resolveId()?
resolveId() is called by 6 function(s): computeEntries, constructor, createIdResolver, doTransform, resolveId, rolldownScanPlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free