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 { json } from '@angular-devkit/core';
|
11 | import { Observable } from 'rxjs';
|
12 | import * as webpack from 'webpack';
|
13 | import { ExecutionTransformer } from '../transforms';
|
14 | import { WebpackConfigOptions } from '../utils/build-options';
|
15 | import { IndexHtmlTransform } from '../utils/index-file/index-html-generator';
|
16 | import { Schema as BrowserBuilderSchema } from './schema';
|
17 |
|
18 |
|
19 |
|
20 | export declare type BrowserBuilderOutput = json.JsonObject & BuilderOutput & {
|
21 | baseOutputPath: string;
|
22 | outputPaths: string[];
|
23 | |
24 |
|
25 |
|
26 | outputPath: string;
|
27 | };
|
28 | export declare function getAnalyticsConfig(wco: WebpackConfigOptions, context: BuilderContext): webpack.Configuration;
|
29 | export declare function getCompilerConfig(wco: WebpackConfigOptions): webpack.Configuration;
|
30 |
|
31 |
|
32 |
|
33 | export declare function buildWebpackBrowser(options: BrowserBuilderSchema, context: BuilderContext, transforms?: {
|
34 | webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
|
35 | logging?: WebpackLoggingCallback;
|
36 | indexHtml?: IndexHtmlTransform;
|
37 | }): Observable<BrowserBuilderOutput>;
|
38 | declare const _default: import("@angular-devkit/architect/src/internal").Builder<json.JsonObject & BrowserBuilderSchema>;
|
39 | export default _default;
|