Files
sweet/www/dev.ts
T
Marvin Hagemeister dbb76623a4 Revert "feat: update the tailwind plugin to suuport tailwindv4 #2819 (#2903)" (#2988)
Reverts tailwind v4 update. Something is wrong with the CSS files on
fresh.deno.dev 😢
2025-05-21 16:07:51 +02:00

15 lines
362 B
TypeScript
Executable File

#!/usr/bin/env -S deno run -A --watch=static/,routes/
import { Builder } from "fresh/dev";
import { app } from "./main.ts";
import { tailwind } from "@fresh/plugin-tailwind";
const builder = new Builder({ target: "safari12" });
tailwind(builder, app, {});
if (Deno.args.includes("build")) {
await builder.build(app);
} else {
await builder.listen(app);
}