summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/build/internal.ts5
-rw-r--r--packages/astro/src/core/build/plugins/plugin-hoisted-scripts.ts2
-rw-r--r--packages/astro/test/core-image.test.js2
3 files changed, 3 insertions, 6 deletions
diff --git a/packages/astro/src/core/build/internal.ts b/packages/astro/src/core/build/internal.ts
index 54df70516..efab9baca 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 fb6ccadd1..7d31aed63 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 aa6e30818..2943f3177 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';