refactor: replace references of options with config (#1903)
This commit is contained in:
@@ -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);
|
||||
|
||||
+2
-2
@@ -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;
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user