Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinzunigacuellar authored and astrobot-houston committed Sep 29, 2023
1 parent 1f56eae commit 13847b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/starlight/integrations/virtual-user-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function resolveVirtualModuleId<T extends string>(id: T): `\0${T}` {
/** Vite plugin that exposes Starlight user config and project context via virtual modules. */
export function vitePluginStarlightUserConfig(
opts: StarlightConfig,
{ root, srcDir }: Pick<AstroConfig, 'root'| 'srcDir'>
{ root, srcDir }: Pick<AstroConfig, 'root' | 'srcDir'>
): NonNullable<ViteUserConfig['plugins']>[number] {
const resolveId = (id: string) =>
JSON.stringify(id.startsWith('.') ? resolve(fileURLToPath(root), id) : id);
Expand Down

0 comments on commit 13847b8

Please sign in to comment.