1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { BuilderContext } from '@angular-devkit/architect';
|
9 | import { DevServerBuildOutput, 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 { IndexHtmlTransform } from '../utils/index-file/index-html-generator';
|
15 | import { Schema } from './schema';
|
16 | export declare type DevServerBuilderOptions = Schema & json.JsonObject;
|
17 |
|
18 |
|
19 |
|
20 | export declare type DevServerBuilderOutput = DevServerBuildOutput & {
|
21 | baseUrl: string;
|
22 | };
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function serveWebpackBrowser(options: DevServerBuilderOptions, context: BuilderContext, transforms?: {
|
33 | webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
|
34 | logging?: WebpackLoggingCallback;
|
35 | indexHtml?: IndexHtmlTransform;
|
36 | }): Observable<DevServerBuilderOutput>;
|
37 | declare const _default: import("@angular-devkit/architect/src/internal").Builder<Schema & json.JsonObject>;
|
38 | export default _default;
|