source: trip-planner-front/node_modules/@angular-devkit/build-webpack/src/webpack/index.d.ts@ eed0bf8

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

initial commit

  • Property mode set to 100644
File size: 1.3 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, BuilderOutput } from '@angular-devkit/architect';
9import { Observable } from 'rxjs';
10import webpack from 'webpack';
11import { EmittedFiles } from '../utils';
12import { Schema as RealWebpackBuilderSchema } from './schema';
13export declare type WebpackBuilderSchema = RealWebpackBuilderSchema;
14export interface WebpackLoggingCallback {
15 (stats: webpack.Stats, config: webpack.Configuration): void;
16}
17export interface WebpackFactory {
18 (config: webpack.Configuration): Observable<webpack.Compiler> | webpack.Compiler;
19}
20export declare type BuildResult = BuilderOutput & {
21 emittedFiles?: EmittedFiles[];
22 webpackStats?: webpack.StatsCompilation;
23 outputPath: string;
24};
25export declare function runWebpack(config: webpack.Configuration, context: BuilderContext, options?: {
26 logging?: WebpackLoggingCallback;
27 webpackFactory?: WebpackFactory;
28 shouldProvideStats?: boolean;
29}): Observable<BuildResult>;
30declare const _default: import("@angular-devkit/architect/src/internal").Builder<RealWebpackBuilderSchema & import("../../../core/src").JsonObject>;
31export default _default;
Note: See TracBrowser for help on using the repository browser.