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