-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.d.ts
27 lines (27 loc) · 1.26 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/// <reference types="node" />
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { BuildEvent, Builder, BuilderConfiguration, BuilderContext } from '@angular-devkit/architect';
import { LoggingCallback } from '@angular-devkit/build-webpack';
import { Path, virtualFs } from '@angular-devkit/core';
import * as fs from 'fs';
import { Observable } from 'rxjs';
import { AssetPatternObject, BrowserBuilderSchema, CurrentFileReplacement } from './schema';
export interface NormalizedBrowserBuilderSchema extends BrowserBuilderSchema {
assets: AssetPatternObject[];
fileReplacements: CurrentFileReplacement[];
}
export declare class BrowserBuilder implements Builder<BrowserBuilderSchema> {
context: BuilderContext;
constructor(context: BuilderContext);
run(builderConfig: BuilderConfiguration<BrowserBuilderSchema>): Observable<BuildEvent>;
buildWebpackConfig(root: Path, projectRoot: Path, host: virtualFs.Host<fs.Stats>, options: NormalizedBrowserBuilderSchema): any;
private _deleteOutputDir;
}
export declare const getBrowserLoggingCb: (verbose: boolean) => LoggingCallback;
export default BrowserBuilder;