25 lines
566 B
TypeScript
25 lines
566 B
TypeScript
/// <reference no-default-lib="true" />
|
|
/// <reference lib="dom" />
|
|
/// <reference lib="dom.iterable" />
|
|
/// <reference lib="dom.asynciterable" />
|
|
/// <reference lib="deno.ns" />
|
|
|
|
import "$std/dotenv/load.ts";
|
|
|
|
import { start } from "$fresh/server.ts";
|
|
import manifest from "./fresh.gen.ts";
|
|
|
|
import twindPlugin from "$fresh/plugins/twindv1.ts";
|
|
import twindConfig from "./twind.config.ts";
|
|
|
|
console.log("start");
|
|
|
|
Deno.addSignalListener("SIGINT", () => {
|
|
Deno.exit(0);
|
|
});
|
|
|
|
await start(manifest, {
|
|
port: 12001,
|
|
plugins: [twindPlugin(twindConfig)]
|
|
});
|