diff options
Diffstat (limited to 'src/compiler/index.ts')
-rw-r--r-- | src/compiler/index.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/compiler/index.ts b/src/compiler/index.ts index 0ba5657cd..88ea5caf9 100644 --- a/src/compiler/index.ts +++ b/src/compiler/index.ts @@ -1,5 +1,5 @@ -import type { LogOptions } from '../logger.js'; -import type { AstroConfig, CompileResult, TransformResult } from '../@types/astro'; +import type { CompileResult, TransformResult } from '../@types/astro'; +import type { CompileOptions } from '../@types/compiler.js'; import path from 'path'; import micromark from 'micromark'; @@ -13,12 +13,6 @@ import { encodeMarkdown } from '../micromark-encode.js'; import { optimize } from './optimize/index.js'; import { codegen } from './codegen.js'; -interface CompileOptions { - astroConfig: AstroConfig; - logging: LogOptions; - resolve: (p: string) => Promise<string>; -} - function internalImport(internalPath: string) { return `/_astro_internal/${internalPath}`; } |