UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

18 lines (17 loc) 592 B
import { IWebWorkerItem } from '../analysis/fastAnalysis'; import { Context } from '../core/Context'; import { Module } from '../core/Module'; export interface IWebWorkerProcessProps { ctx: Context; module: Module; item?: IWebWorkerItem; } export declare class WebWorkerProcess { props: IWebWorkerProcessProps; bundleName: string; isRunning: boolean; constructor(props: IWebWorkerProcessProps); resolveWebWorkerBundlePath(): string; run(): Promise<void>; } export declare function registerWebWorkerProcess(props: IWebWorkerProcessProps): WebWorkerProcess;