This commit removes the need for users to specify a --config file. TS libs are now configured via `/// <reference>` directives, and the JSX transform is specified via the `/** @jsx h */` pragma. The future is configless!
13 lines
319 B
TypeScript
13 lines
319 B
TypeScript
/// <reference no-default-lib="true" />
|
|
/// <reference lib="dom" />
|
|
/// <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({});
|
|
}
|