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!
10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
/** @jsx h */
|
|
|
|
import { h, PageConfig } from "../deps.ts";
|
|
|
|
export default function StaticPage() {
|
|
return <p>This is a static page.</p>;
|
|
}
|
|
|
|
export const config: PageConfig = { runtimeJS: false };
|