UNPKG

kt-extendscript-builder

Version:

Vite based builder for transpile TypeScript to ExtendScript

30 lines (29 loc) 847 B
/** * Main class of the build system. * Coordinates the build process with a simple and clear structure. */ export declare class Builder { private options; private viteConfig; private optionsResolver; constructor(); /** * Executes the build process with the configured options * This method executes the complete clean-build-clean process */ build(command?: string): Promise<void>; /** * Convenience method that combines configuration and build * To maintain compatibility with existing code */ run(): Promise<void>; /** * Determines if the directory should be cleaned based on the options */ private shouldClean; /** * Cleans the output directory if necessary according to the configuration */ private cleanIfNeeded; private resetOptions; }