-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.d.ts
32 lines (32 loc) · 1.18 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* @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.dev/license
*/
import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
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 type ServerBuilderOutput = BuilderOutput & {
baseOutputPath: string;
outputPath: string;
outputs: {
locale?: string;
path: string;
}[];
};
export type { 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").Builder<ServerBuilderOptions & import("@angular-devkit/core").JsonObject>;
export default _default;