diff options
author | 2021-04-01 10:20:57 -0600 | |
---|---|---|
committer | 2021-04-01 10:20:57 -0600 | |
commit | f6a7ac67befff863e34133673efb78ea7ac0fe48 (patch) | |
tree | c66fa89ca110c17c06432d028ee746615f2b9b23 /src/compiler/index.ts | |
parent | 7c10d563f2fc921ee66ee4820b85c4b871d218fd (diff) | |
download | astro-f6a7ac67befff863e34133673efb78ea7ac0fe48.tar.gz astro-f6a7ac67befff863e34133673efb78ea7ac0fe48.tar.zst astro-f6a7ac67befff863e34133673efb78ea7ac0fe48.zip |
Add runtime mode (#48)
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}`; } |