chore(lint): Prettier fix
This commit is contained in:
parent
693cd41a1c
commit
a597e1c517
1 changed files with 6 additions and 4 deletions
|
@ -95,8 +95,10 @@ export default function configAliasVitePlugin(astroConfig: { projectRoot?: URL;
|
|||
/** Processed Source ID with our alias applied. */
|
||||
const aliasedSourceId = sourceId.replace(alias.find, alias.replacement);
|
||||
|
||||
try {
|
||||
/** Resolved ID conditionally handled by any other resolver. (this also gives priority to all other resolvers) */
|
||||
const resolvedAliasedId = await this.resolve(aliasedSourceId, importer, { skipSelf: true, ...options });
|
||||
} catch (e) {}
|
||||
|
||||
// if the existing resolvers find the file, return that resolution
|
||||
if (resolvedAliasedId) return resolvedAliasedId;
|
||||
|
|
Loading…
Reference in a new issue