1 | import { BuilderContext, BuilderHandlerFn } from '@angular-devkit/architect';
|
2 | import { ExecutionTransformer } from '@angular-devkit/build-angular';
|
3 | import type { IndexHtmlTransform } from '@angular/build/src/utils/index-file/index-html-generator';
|
4 | import { Configuration } from 'webpack';
|
5 | import { json } from '@angular-devkit/core';
|
6 | export interface BrowserTargetOptions {
|
7 | buildTarget?: string;
|
8 | browserTarget?: string;
|
9 | }
|
10 | export type BuilderExecutor<O extends BrowserTargetOptions & json.JsonObject> = (options: O, context: BuilderContext, transforms?: {
|
11 | webpackConfiguration?: ExecutionTransformer<Configuration>;
|
12 | indexHtml?: IndexHtmlTransform;
|
13 | }) => any;
|
14 | export declare const executeBrowserBasedBuilder: <O extends BrowserTargetOptions & json.JsonObject>(executebBuilder: BuilderExecutor<O>) => BuilderHandlerFn<O>;
|