source: trip-planner-front/node_modules/@angular-devkit/build-webpack/src/webpack-dev-server/index.d.ts@ 8d391a1

Last change on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.2 KB
Line 
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 */
8import { BuilderContext } from '@angular-devkit/architect';
9import { Observable } from 'rxjs';
10import webpack from 'webpack';
11import WebpackDevServer from 'webpack-dev-server';
12import { BuildResult, WebpackFactory, WebpackLoggingCallback } from '../webpack';
13import { Schema as WebpackDevServerBuilderSchema } from './schema';
14export declare type WebpackDevServerFactory = typeof WebpackDevServer;
15export declare type DevServerBuildOutput = BuildResult & {
16 port: number;
17 family: string;
18 address: string;
19};
20export 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>;
26declare const _default: import("@angular-devkit/architect/src/internal").Builder<WebpackDevServerBuilderSchema & import("../../../core/src").JsonObject>;
27export default _default;
Note: See TracBrowser for help on using the repository browser.