UNPKG

@digitak/esrun

Version:

Execute directly your Typescript files using Esbuild

21 lines (20 loc) 640 B
import { BuildOptions } from "esbuild"; import { Parameter } from "./Parameter.js"; import { SendCodeMode } from "./SendCodeMode.js"; export declare type Options = { args?: string[]; watch?: boolean | string[]; preserveConsole?: boolean; inspect?: boolean; interProcessCommunication?: boolean; makeAllPackagesExternal?: boolean; exitAfterExecution?: boolean; fileConstants?: boolean; tsConfigFile?: string; sendCodeMode?: SendCodeMode; sudo?: boolean; beforeRun?: () => unknown; afterRun?: () => unknown; nodeOptions?: Record<string, Parameter>; esbuildOptions?: BuildOptions; };