1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { BuilderContext, BuilderOutput } from '@angular-devkit/architect';
|
9 | import { WebpackLoggingCallback } from '@angular-devkit/build-webpack';
|
10 | import { Observable } from 'rxjs';
|
11 | import webpack from 'webpack';
|
12 | import { ExecutionTransformer } from '../../transforms';
|
13 | import { IndexHtmlTransform } from '../../utils/index-file/index-html-generator';
|
14 | import { BuildEventStats } from '../../webpack/utils/stats';
|
15 | import { Schema as BrowserBuilderSchema } from './schema';
|
16 |
|
17 |
|
18 |
|
19 | export type BrowserBuilderOutput = BuilderOutput & {
|
20 | stats: BuildEventStats;
|
21 | baseOutputPath: string;
|
22 | |
23 |
|
24 |
|
25 | outputPaths: string[];
|
26 | |
27 |
|
28 |
|
29 | outputPath: string;
|
30 | outputs: {
|
31 | locale?: string;
|
32 | path: string;
|
33 | baseHref?: string;
|
34 | }[];
|
35 | };
|
36 |
|
37 |
|
38 |
|
39 |
|
40 | export declare const BUILD_TIMEOUT = 30000;
|
41 |
|
42 |
|
43 |
|
44 | export declare function buildWebpackBrowser(options: BrowserBuilderSchema, context: BuilderContext, transforms?: {
|
45 | webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
|
46 | logging?: WebpackLoggingCallback;
|
47 | indexHtml?: IndexHtmlTransform;
|
48 | }): Observable<BrowserBuilderOutput>;
|
49 | declare const _default: import("../../../../architect/src/internal").Builder<BrowserBuilderSchema & import("../../../../core/src").JsonObject>;
|
50 | export default _default;
|