UNPKG

1.24 kBTypeScriptView Raw
1import { Input } from '../commands';
2import { AssetsManager } from '../lib/compiler/assets-manager';
3import { TsConfigProvider } from '../lib/compiler/helpers/tsconfig-provider';
4import { PluginsLoader } from '../lib/compiler/plugins/plugins-loader';
5import { TypeScriptBinaryLoader } from '../lib/compiler/typescript-loader';
6import { ConfigurationLoader } from '../lib/configuration';
7import { FileSystemReader } from '../lib/readers';
8import { AbstractAction } from './abstract.action';
9export declare class BuildAction extends AbstractAction {
10 protected readonly pluginsLoader: PluginsLoader;
11 protected readonly tsLoader: TypeScriptBinaryLoader;
12 protected readonly tsConfigProvider: TsConfigProvider;
13 protected readonly fileSystemReader: FileSystemReader;
14 protected readonly loader: ConfigurationLoader;
15 protected readonly assetsManager: AssetsManager;
16 handle(commandInputs: Input[], commandOptions: Input[]): Promise<void>;
17 runBuild(commandInputs: Input[], commandOptions: Input[], watchMode: boolean, watchAssetsMode: boolean, isDebugEnabled?: boolean, onSuccess?: () => void): Promise<void>;
18 private runSwc;
19 private runWebpack;
20 private runTsc;
21 private getWebpackConfigFactoryByPath;
22}