UNPKG

1.29 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
9import { json } from '@angular-devkit/core';
10import { Observable } from 'rxjs';
11import webpack from 'webpack';
12import { ExecutionTransformer } from '../transforms';
13import { Schema as ServerBuilderOptions } from './schema';
14/**
15 * @experimental Direct usage of this type is considered experimental.
16 */
17export declare type ServerBuilderOutput = json.JsonObject & BuilderOutput & {
18 baseOutputPath: string;
19 outputPaths: string[];
20 /**
21 * @deprecated in version 9. Use 'outputPaths' instead.
22 */
23 outputPath: string;
24};
25export { ServerBuilderOptions };
26/**
27 * @experimental Direct usage of this function is considered experimental.
28 */
29export declare function execute(options: ServerBuilderOptions, context: BuilderContext, transforms?: {
30 webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
31}): Observable<ServerBuilderOutput>;
32declare const _default: import("@angular-devkit/architect/src/internal").Builder<json.JsonObject & ServerBuilderOptions>;
33export default _default;