UNPKG

859 BTypeScriptView Raw
1import * as cmn from "@akashic/akashic-cli-commons";
2export interface ConvertGameParameterObject {
3 bundle?: boolean;
4 babel?: boolean;
5 minify?: boolean;
6 strip?: boolean;
7 source?: string;
8 hashLength?: number;
9 dest: string;
10 omitEmptyJs?: boolean;
11 /**
12 * コマンドの出力を受け取るロガー。
13 * 省略された場合、akashic-cli-commons の `new ConsoleLogger()` 。
14 */
15 logger?: cmn.Logger;
16 exportInfo?: cmn.ExportZipInfo;
17}
18export declare function _completeConvertGameParameterObject(param: ConvertGameParameterObject): void;
19export interface BundleResult {
20 bundle: string;
21 filePaths: string[];
22}
23export declare function bundleScripts(entryPoint: string, basedir: string): Promise<BundleResult>;
24export declare function convertGame(param: ConvertGameParameterObject): Promise<void>;