UNPKG

494 BTypeScriptView Raw
1declare type CompilerOpts = {
2 post_webpack_side_effect?: () => Promise<void>;
3 compile_only?: boolean;
4 module_loaders?: Array<Object>;
5 resolve_loader_modules?: Array<string>;
6 resolve_aliases?: {
7 [name: string]: string;
8 };
9};
10export default class Compiler {
11 static compile(input_dir: string, build_dir: string, output_file: string, opts?: CompilerOpts): Promise<void>;
12 private static build;
13 private static zip;
14 private static webpack;
15}
16export {};