An esbuild failure, captured for display on the run's error page.
const error: BuildError = { type: 'Build Error', formatted: '✘ [ERROR] Could not resolve "./missing.ts"', }; error.type; // 'Build Error' — becomes the fallback page's heading
An esbuild failure, captured for display on the run's error page.
const error: BuildError = { type: 'Build Error', formatted: '✘ [ERROR] Could not resolve "./missing.ts"', }; error.type; // 'Build Error' — becomes the fallback page's heading
import { type BuildError } from "lib/types.ts";