You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.3 KiB
33 lines
1.3 KiB
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
|
|
import { json } from '@angular-devkit/core';
|
|
import { Observable } from 'rxjs';
|
|
import webpack from 'webpack';
|
|
import { ExecutionTransformer } from '../transforms';
|
|
import { Schema as ServerBuilderOptions } from './schema';
|
|
/**
|
|
* @experimental Direct usage of this type is considered experimental.
|
|
*/
|
|
export declare type ServerBuilderOutput = json.JsonObject & BuilderOutput & {
|
|
baseOutputPath: string;
|
|
outputPaths: string[];
|
|
/**
|
|
* @deprecated in version 9. Use 'outputPaths' instead.
|
|
*/
|
|
outputPath: string;
|
|
};
|
|
export { ServerBuilderOptions };
|
|
/**
|
|
* @experimental Direct usage of this function is considered experimental.
|
|
*/
|
|
export declare function execute(options: ServerBuilderOptions, context: BuilderContext, transforms?: {
|
|
webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
|
|
}): Observable<ServerBuilderOutput>;
|
|
declare const _default: import("@angular-devkit/architect/src/internal").Builder<json.JsonObject & ServerBuilderOptions>;
|
|
export default _default;
|