0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

[ci] format

This commit is contained in:
Arpan Patel 2024-11-14 08:34:43 +00:00 committed by astrobot-houston
parent 0462219612
commit bdc0890061

View file

@ -8,9 +8,7 @@ function virtualHoistedEntry(id: string) {
return id.startsWith('/astro/hoisted.js?q='); return id.startsWith('/astro/hoisted.js?q=');
} }
export function vitePluginHoistedScripts( export function vitePluginHoistedScripts(internals: BuildInternals): VitePlugin {
internals: BuildInternals,
): VitePlugin {
let assetsInlineLimit: NonNullable<BuildOptions['assetsInlineLimit']>; let assetsInlineLimit: NonNullable<BuildOptions['assetsInlineLimit']>;
return { return {
@ -93,9 +91,7 @@ export function vitePluginHoistedScripts(
}; };
} }
export function pluginHoistedScripts( export function pluginHoistedScripts(internals: BuildInternals): AstroBuildPlugin {
internals: BuildInternals,
): AstroBuildPlugin {
return { return {
targets: ['client'], targets: ['client'],
hooks: { hooks: {