Graphical PDS migrator for AT Protocol
1import { Builder } from "fresh/dev";
2import { tailwind } from "@fresh/plugin-tailwind";
3import { app } from "./main.ts";
4
5// Pass development only configuration here
6const builder = new Builder({ target: "safari12" });
7
8// Example: Enabling the tailwind plugin for Fresh
9tailwind(builder, app, {});
10
11// Create optimized assets for the browser when
12// running `deno run -A dev.ts build`
13if (Deno.args.includes("build")) {
14 await builder.build(app);
15} else {
16 // ...otherwise start the development server
17 await builder.listen(app);
18}