Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { BuilderContext } from '@angular-devkit/architect';
|
---|
| 9 | import { Observable } from 'rxjs';
|
---|
| 10 | import webpack from 'webpack';
|
---|
| 11 | import WebpackDevServer from 'webpack-dev-server';
|
---|
| 12 | import { BuildResult, WebpackFactory, WebpackLoggingCallback } from '../webpack';
|
---|
| 13 | import { Schema as WebpackDevServerBuilderSchema } from './schema';
|
---|
| 14 | export declare type WebpackDevServerFactory = typeof WebpackDevServer;
|
---|
| 15 | export declare type DevServerBuildOutput = BuildResult & {
|
---|
| 16 | port: number;
|
---|
| 17 | family: string;
|
---|
| 18 | address: string;
|
---|
| 19 | };
|
---|
| 20 | export declare function runWebpackDevServer(config: webpack.Configuration, context: BuilderContext, options?: {
|
---|
| 21 | devServerConfig?: WebpackDevServer.Configuration;
|
---|
| 22 | logging?: WebpackLoggingCallback;
|
---|
| 23 | webpackFactory?: WebpackFactory;
|
---|
| 24 | webpackDevServerFactory?: WebpackDevServerFactory;
|
---|
| 25 | }): Observable<DevServerBuildOutput>;
|
---|
| 26 | declare const _default: import("@angular-devkit/architect/src/internal").Builder<WebpackDevServerBuilderSchema & import("../../../core/src").JsonObject>;
|
---|
| 27 | export default _default;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.