Method
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
},
)
Source from the content-addressed store, hash-verified
| 1263 | } |
| 1264 | |
| 1265 | async resolveId( |
| 1266 | rawId: string, |
| 1267 | importer?: string, |
| 1268 | options?: { |
| 1269 | attributes?: Record<string, string> |
| 1270 | custom?: CustomPluginOptions |
| 1271 | /** @deprecated use `skipCalls` instead */ |
| 1272 | skip?: Set<Plugin> |
| 1273 | skipCalls?: readonly SkipInformation[] |
| 1274 | ssr?: boolean |
| 1275 | /** |
| 1276 | * @internal |
| 1277 | */ |
| 1278 | scan?: boolean |
| 1279 | isEntry?: boolean |
| 1280 | }, |
| 1281 | ): Promise<PartialResolvedId | null> { |
| 1282 | return this._getPluginContainer(options).resolveId(rawId, importer, options) |
| 1283 | } |
| 1284 | |
| 1285 | async load( |
| 1286 | id: string, |