Skip to main content
Module

x/packup/ensure_esbuild_wasm.ts

📦 Zero-config web application packager in Deno
Go to Latest
File
import { ensureDir } from "./deps.ts";import { installWasm, wasmCacheDir, wasmPath } from "./install_util.ts";
const path = wasmPath();
await ensureDir(wasmCacheDir());try { await Deno.lstat(path);} catch (e) { if (e.name === "NotFound") { await installWasm(); Deno.exit(0); } throw e;}