diff --git a/packages/astro/src/core/middleware/sequence.ts b/packages/astro/src/core/middleware/sequence.ts index 5d79c7fede..03ae7d3a35 100644 --- a/packages/astro/src/core/middleware/sequence.ts +++ b/packages/astro/src/core/middleware/sequence.ts @@ -1,8 +1,8 @@ import type { APIContext, MiddlewareHandler, RewritePayload } from '../../@types/astro.js'; import { AstroCookies } from '../cookies/cookies.js'; -import { defineMiddleware } from './index.js'; -import { getParams, type Pipeline } from '../render/index.js'; import { apiContextRoutesSymbol } from '../render-context.js'; +import { type Pipeline, getParams } from '../render/index.js'; +import { defineMiddleware } from './index.js'; // From SvelteKit: https://github.com/sveltejs/kit/blob/master/packages/kit/src/exports/hooks/sequence.js /**