diff options
author | 2023-10-13 06:27:08 +0000 | |
---|---|---|
committer | 2023-10-13 06:27:08 +0000 | |
commit | 7c458514c06c95158245bba4fa3c254abd333f5a (patch) | |
tree | 4f4812132b0bc44e694d378437ecdde544ea223e | |
parent | f8de1983bde3ecfed3ab61abf0aa9f967b0d86ce (diff) | |
download | astro-7c458514c06c95158245bba4fa3c254abd333f5a.tar.gz astro-7c458514c06c95158245bba4fa3c254abd333f5a.tar.zst astro-7c458514c06c95158245bba4fa3c254abd333f5a.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/errors/dev/vite.ts | 2 | ||||
-rw-r--r-- | packages/astro/src/core/shiki.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/core/errors/dev/vite.ts b/packages/astro/src/core/errors/dev/vite.ts index 8705534a9..40551a185 100644 --- a/packages/astro/src/core/errors/dev/vite.ts +++ b/packages/astro/src/core/errors/dev/vite.ts @@ -3,12 +3,12 @@ import { fileURLToPath } from 'node:url'; import { codeToHtml } from 'shikiji'; import type { ErrorPayload } from 'vite'; import type { ModuleLoader } from '../../module-loader/index.js'; +import { replaceCssVariables } from '../../shiki.js'; import { FailedToLoadModuleSSR, InvalidGlob, MdxIntegrationMissingError } from '../errors-data.js'; import { AstroError, type ErrorWithMetadata } from '../errors.js'; import { createSafeError } from '../utils.js'; import type { SSRLoadedRenderer } from './../../../@types/astro.js'; import { getDocsForError, renderErrorMarkdown } from './utils.js'; -import { replaceCssVariables } from '../../shiki.js'; export function enhanceViteSSRError({ error, diff --git a/packages/astro/src/core/shiki.ts b/packages/astro/src/core/shiki.ts index 4ce27c51d..3bfa0379d 100644 --- a/packages/astro/src/core/shiki.ts +++ b/packages/astro/src/core/shiki.ts @@ -1,4 +1,4 @@ -import { type Highlighter, getHighlighter } from 'shikiji'; +import { getHighlighter, type Highlighter } from 'shikiji'; type HighlighterOptions = NonNullable<Parameters<typeof getHighlighter>[0]>; |