fix: update dependency recommendations (#2320)
closes https://github.com/denoland/fresh/issues/2319 The issue is because `imports.ts` wasn't changed before releasing. I thought I would go through and bump some other versions as well. This handles everything except the esbuild stuff and `tests/`.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { RouteContext } from "../../../../server.ts";
|
||||
import { delay, relative, SEP } from "../../../deps.ts";
|
||||
import { delay, relative, SEPARATOR } from "../../../deps.ts";
|
||||
|
||||
export default async function Foo(_req: Request, context: RouteContext) {
|
||||
await delay(1);
|
||||
const value = JSON.stringify(context, (key, value) => {
|
||||
if (key === "outDir" || key == "staticDir") {
|
||||
return relative(Deno.cwd(), value).split(SEP).join("/");
|
||||
return relative(Deno.cwd(), value).split(SEPARATOR).join("/");
|
||||
} else if (key === "entrypoints") {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user