diff --git a/packages/astro/src/core/build/internal.ts b/packages/astro/src/core/build/internal.ts index 54df70516f87..efab9baca291 100644 --- a/packages/astro/src/core/build/internal.ts +++ b/packages/astro/src/core/build/internal.ts @@ -252,10 +252,7 @@ export function getPageData( * @param internals Build Internals with all the pages * @param component path to the component, used to identify related pages */ -function getPagesDatasByComponent( - internals: BuildInternals, - component: string -): PageBuildData[] { +function getPagesDatasByComponent(internals: BuildInternals, component: string): PageBuildData[] { const pageDatas: PageBuildData[] = []; internals.pagesByKeys.forEach((pageData) => { if (component === pageData.component) pageDatas.push(pageData); diff --git a/packages/astro/src/core/build/plugins/plugin-hoisted-scripts.ts b/packages/astro/src/core/build/plugins/plugin-hoisted-scripts.ts index fb6ccadd1f0d..7d31aed6331f 100644 --- a/packages/astro/src/core/build/plugins/plugin-hoisted-scripts.ts +++ b/packages/astro/src/core/build/plugins/plugin-hoisted-scripts.ts @@ -1,4 +1,4 @@ -import type { BuildOptions, Plugin as VitePlugin, Rollup } from 'vite'; +import type { BuildOptions, Rollup, Plugin as VitePlugin } from 'vite'; import type { AstroSettings } from '../../../@types/astro.js'; import { viteID } from '../../util.js'; import type { BuildInternals } from '../internal.js'; diff --git a/packages/astro/test/core-image.test.js b/packages/astro/test/core-image.test.js index aa6e308183f5..2943f31775a7 100644 --- a/packages/astro/test/core-image.test.js +++ b/packages/astro/test/core-image.test.js @@ -2,9 +2,9 @@ import assert from 'node:assert/strict'; import { basename } from 'node:path'; import { Writable } from 'node:stream'; import { after, before, describe, it } from 'node:test'; +import { removeDir } from '@astrojs/internal-helpers/fs'; import * as cheerio from 'cheerio'; import parseSrcset from 'parse-srcset'; -import { removeDir } from '@astrojs/internal-helpers/fs'; import { Logger } from '../dist/core/logger/core.js'; import testAdapter from './test-adapter.js'; import { testImageService } from './test-image-service.js';