Skip to main content
Version: Next

CommandKitCompilerOptions

CommandKitCompilerOptions

Signature
interface CommandKitCompilerOptions {
macro?: {
/**
* Whether to enable macro function compilation in development mode.
* @default false
*/
development?: boolean;
};
tsdown?: Partial<TsDownOptions>;
disableChunking?: boolean;
}

macro

property
{ /** * Whether to enable macro function compilation in development mode. * @default false */ development?: boolean; }

The macro compiler options to use with CommandKit.

tsdown

property
Partial<TsDownOptions>

The tsdown compiler options to use with CommandKit. DO NOT USE THIS UNLESS YOU KNOW WHAT YOU ARE DOING as it alters the behavior of the build process.

disableChunking

property
boolean
default:
false

Disables chunking of the output (production only, development never chunks).