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
@@ -1,6 +1,6 @@
#!/usr/bin/env -S deno run -A --watch=static/,routes/
import dev from "$fresh/dev.ts";
import options from "./options.ts";
import config from "./fresh.config.ts";
await dev(import.meta.url, "./main.ts", options);
await dev(import.meta.url, "./main.ts", config);
@@ -1,7 +1,7 @@
import { FreshOptions } from "$fresh/server.ts";
import { FreshConfig } from "$fresh/server.ts";
export default {
router: {
ignoreFilePattern: /[\.|_]cy\.[t|j]s(x)?$/,
},
} as FreshOptions;
} as FreshConfig;
+2 -2
View File
@@ -6,6 +6,6 @@
import { start } from "$fresh/server.ts";
import manifest from "./fresh.gen.ts";
import options from "./options.ts";
import config from "./fresh.config.ts";
await start(manifest, options);
await start(manifest, config);