source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/webpack-browser-config.d.ts

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.9 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 { logging } from '@angular-devkit/core';
10import { Configuration } from 'webpack';
11import { Schema as BrowserBuilderSchema } from '../browser/schema';
12import { NormalizedBrowserBuilderSchema } from '../utils';
13import { WebpackConfigOptions } from '../utils/build-options';
14import { I18nOptions } from './i18n-options';
15export declare type BrowserWebpackConfigOptions = WebpackConfigOptions<NormalizedBrowserBuilderSchema>;
16export declare function generateWebpackConfig(workspaceRoot: string, projectRoot: string, sourceRoot: string | undefined, options: NormalizedBrowserBuilderSchema, webpackPartialGenerator: (wco: BrowserWebpackConfigOptions) => Configuration[], logger: logging.LoggerApi, extraBuildOptions: Partial<NormalizedBrowserBuilderSchema>): Promise<Configuration>;
17export declare function generateI18nBrowserWebpackConfigFromContext(options: BrowserBuilderSchema, context: BuilderContext, webpackPartialGenerator: (wco: BrowserWebpackConfigOptions) => Configuration[], extraBuildOptions?: Partial<NormalizedBrowserBuilderSchema>): Promise<{
18 config: Configuration;
19 projectRoot: string;
20 projectSourceRoot?: string;
21 i18n: I18nOptions;
22}>;
23export declare function generateBrowserWebpackConfigFromContext(options: BrowserBuilderSchema, context: BuilderContext, webpackPartialGenerator: (wco: BrowserWebpackConfigOptions) => Configuration[], extraBuildOptions?: Partial<NormalizedBrowserBuilderSchema>): Promise<{
24 config: Configuration;
25 projectRoot: string;
26 projectSourceRoot?: string;
27}>;
28export declare function getIndexOutputFile(index: BrowserBuilderSchema['index']): string;
29export declare function getIndexInputFile(index: BrowserBuilderSchema['index']): string;
Note: See TracBrowser for help on using the repository browser.