Stock/main.ts

25 lines
566 B
TypeScript
Raw Permalink Normal View History

2023-07-23 00:32:54 +09:00
/// <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";
2023-10-26 22:10:47 +09:00
import twindPlugin from "$fresh/plugins/twindv1.ts";
2023-07-23 00:32:54 +09:00
import twindConfig from "./twind.config.ts";
2023-10-26 22:10:47 +09:00
console.log("start");
Deno.addSignalListener("SIGINT", () => {
Deno.exit(0);
});
2023-07-24 11:21:42 +09:00
await start(manifest, {
port: 12001,
plugins: [twindPlugin(twindConfig)]
});