refactor: replace references of options with config (#1903)

This commit is contained in:
Asher Gomez
2023-10-11 09:25:03 +02:00
committed by GitHub
parent 1d12853889
commit 6ddef91d95
28 changed files with 138 additions and 127 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ import { join } from "../server/deps.ts";
import { colors, fs } from "./deps.ts";
import { BuildSnapshotJson } from "../build/mod.ts";
import { BUILD_ID } from "../server/build_id.ts";
import { InternalFreshOptions } from "../server/types.ts";
import { InternalFreshConfig } from "../server/types.ts";
export async function build(
config: InternalFreshOptions,
config: InternalFreshConfig,
) {
// Ensure that build dir is empty
await fs.emptyDir(config.build.outDir);