25 lines
993 B
TypeScript
25 lines
993 B
TypeScript
// -- preact --
|
|
export { renderToString } from "https://x.lcas.dev/preact@10.5.12/ssr.js";
|
|
|
|
// -- std --
|
|
export { extname } from "https://deno.land/std@0.95.0/path/mod.ts";
|
|
export { generate as generateUuid } from "https://deno.land/std@0.95.0/uuid/v4.ts";
|
|
|
|
// -- router --
|
|
export * as router from "https://crux.land/router@0.0.4";
|
|
|
|
// -- media types --
|
|
export { lookup as mediaTypeLookup } from "https://deno.land/x/media_types@v2.8.4/mod.ts";
|
|
|
|
// -- esbuild --
|
|
const start = new Date().getTime();
|
|
globalThis.performance = {
|
|
now() {
|
|
return new Date().getTime() - start;
|
|
},
|
|
};
|
|
// @deno-types="https://unpkg.com/esbuild-wasm@0.11.19/esm/browser.d.ts"
|
|
import * as esbuild from "https://gist.githubusercontent.com/lucacasonato/358c6b7e8198bfb2cf3d220e49fdcf5f/raw/3714cb0f59606eefc29ed0fea36d4cd93549938b/esbuild-wasm.js";
|
|
export { esbuild };
|
|
export { denoPlugin } from "https://raw.githubusercontent.com/lucacasonato/esbuild_deno_loader/fa2219c3df9494da6c33e3e4dffb1a33b5cc0345/mod.ts";
|