summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Florian Lefebvre <florian-lefebvre@users.noreply.github.com> 2024-12-16 14:53:44 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-12-16 14:53:44 +0000
commit25c1e597f1e0f460351c2201a6bc46a77a417968 (patch)
tree00641a96ff2dacac4aaf7f545b5927664a0619b0
parent564ac6c2f2d77ee34f8519f1e5a4db2c6e194f65 (diff)
downloadastro-25c1e597f1e0f460351c2201a6bc46a77a417968.tar.gz
astro-25c1e597f1e0f460351c2201a6bc46a77a417968.tar.zst
astro-25c1e597f1e0f460351c2201a6bc46a77a417968.zip
[ci] format
-rw-r--r--packages/astro/src/core/build/page-data.ts2
-rw-r--r--packages/astro/src/core/build/plugins/plugin-manifest.ts2
-rw-r--r--packages/astro/src/core/routing/manifest/create.ts6
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/astro/src/core/build/page-data.ts b/packages/astro/src/core/build/page-data.ts
index 59806be58..fc33067d0 100644
--- a/packages/astro/src/core/build/page-data.ts
+++ b/packages/astro/src/core/build/page-data.ts
@@ -4,8 +4,8 @@ import type { AllPagesData } from './types.js';
import * as colors from 'kleur/colors';
import { debug } from '../logger/core.js';
-import { makePageDataKey } from './plugins/util.js';
import { DEFAULT_COMPONENTS } from '../routing/default.js';
+import { makePageDataKey } from './plugins/util.js';
export interface CollectPagesDataOptions {
settings: AstroSettings;
diff --git a/packages/astro/src/core/build/plugins/plugin-manifest.ts b/packages/astro/src/core/build/plugins/plugin-manifest.ts
index a3bd6239a..e220292eb 100644
--- a/packages/astro/src/core/build/plugins/plugin-manifest.ts
+++ b/packages/astro/src/core/build/plugins/plugin-manifest.ts
@@ -14,6 +14,7 @@ import type {
} from '../../app/types.js';
import { encodeKey } from '../../encryption.js';
import { fileExtension, joinPaths, prependForwardSlash } from '../../path.js';
+import { DEFAULT_COMPONENTS } from '../../routing/default.js';
import { serializeRouteData } from '../../routing/index.js';
import { addRollupInput } from '../add-rollup-input.js';
import { getOutFile, getOutFolder } from '../common.js';
@@ -21,7 +22,6 @@ import { type BuildInternals, cssOrder, mergeInlineCss } from '../internal.js';
import type { AstroBuildPlugin } from '../plugin.js';
import type { StaticBuildOptions } from '../types.js';
import { makePageDataKey } from './util.js';
-import { DEFAULT_COMPONENTS } from '../../routing/default.js';
const manifestReplace = '@@ASTRO_MANIFEST_REPLACE@@';
const replaceExp = new RegExp(`['"]${manifestReplace}['"]`, 'g');
diff --git a/packages/astro/src/core/routing/manifest/create.ts b/packages/astro/src/core/routing/manifest/create.ts
index 15d137286..d1f498432 100644
--- a/packages/astro/src/core/routing/manifest/create.ts
+++ b/packages/astro/src/core/routing/manifest/create.ts
@@ -7,6 +7,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { bold } from 'kleur/colors';
import pLimit from 'p-limit';
+import { injectImageEndpoint } from '../../../assets/endpoint/config.js';
import { toRoutingStrategy } from '../../../i18n/utils.js';
import { runHookRoutesResolved } from '../../../integrations/hooks.js';
import { getPrerenderDefault } from '../../../prerender/utils.js';
@@ -16,14 +17,13 @@ import { SUPPORTED_MARKDOWN_FILE_EXTENSIONS } from '../../constants.js';
import { MissingIndexForInternationalization } from '../../errors/errors-data.js';
import { AstroError } from '../../errors/index.js';
import { removeLeadingForwardSlash, slash } from '../../path.js';
+import { injectServerIslandRoute } from '../../server-islands/endpoint.js';
import { resolvePages } from '../../util.js';
+import { ensure404Route } from '../astro-designed-error-pages.js';
import { routeComparator } from '../priority.js';
import { getRouteGenerator } from './generator.js';
import { getPattern } from './pattern.js';
import { getRoutePrerenderOption } from './prerender.js';
-import { ensure404Route } from '../astro-designed-error-pages.js';
-import { injectImageEndpoint } from '../../../assets/endpoint/config.js';
-import { injectServerIslandRoute } from '../../server-islands/endpoint.js';
const require = createRequire(import.meta.url);
interface Item {