This commit adds support for serving static files. Static can be placed into the `/static` directory (as a sibling of the `/pages` directory).
14 lines
361 B
TypeScript
14 lines
361 B
TypeScript
/// <reference no-default-lib="true" />
|
|
/// <reference lib="dom" />
|
|
/// <reference lib="dom.asynciterable" />
|
|
/// <reference lib="deno.ns" />
|
|
/// <reference lib="deno.unstable" />
|
|
|
|
export * from "../runtime.ts";
|
|
import { IS_BROWSER } from "../runtime.ts";
|
|
import { setup, tw } from "https://esm.sh/twind";
|
|
export { setup, tw };
|
|
if (IS_BROWSER) {
|
|
setup({});
|
|
}
|