Interface: Options
Defined in: options.ts:7
Properties
debug?
optional debug: boolean;Defined in: options.ts:21
Debug mode. Wether or not to keep temporary files to help with debugging. Temporary files are stored in node_modules/.cache/unrun/ if possible, otherwise in the OS temporary directory.
Default
false;inputOptions?
optional inputOptions: InputOptions;Defined in: options.ts:33
Additional rolldown input options. These options will be merged with the defaults provided by unrun, with these options always taking precedence.
outputOptions?
optional outputOptions: OutputOptions;Defined in: options.ts:39
Additional rolldown output options. These options will be merged with the defaults provided by unrun, with these options always taking precedence.
path?
optional path: string | URL;Defined in: options.ts:12
The path to the file to be imported. Supports filesystem paths, file URLs or URL objects.
Default
"index.ts";preset?
optional preset: "none" | "jiti" | "bundle-require";Defined in: options.ts:27
The preset to use for bundling and output format.
Default
"none";