source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/webpack/utils/helpers.d.ts@ 6c1585f

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

initial commit

  • Property mode set to 100644
File size: 1.5 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 { ScriptTarget } from 'typescript';
9import { Configuration, SourceMapDevToolPlugin } from 'webpack';
10import { ExtraEntryPoint, ExtraEntryPointClass } from '../../browser/schema';
11export interface HashFormat {
12 chunk: string;
13 extract: string;
14 file: string;
15 script: string;
16}
17export declare function getOutputHashFormat(option: string, length?: number): HashFormat;
18export declare type NormalizedEntryPoint = Required<ExtraEntryPointClass>;
19export declare function normalizeExtraEntryPoints(extraEntryPoints: ExtraEntryPoint[], defaultBundleName: string): NormalizedEntryPoint[];
20export declare function getSourceMapDevTool(scriptsSourceMap: boolean | undefined, stylesSourceMap: boolean | undefined, hiddenSourceMap?: boolean, inlineSourceMap?: boolean): SourceMapDevToolPlugin;
21/**
22 * Returns an ES version file suffix to differentiate between various builds.
23 */
24export declare function getEsVersionForFileName(scriptTarget: ScriptTarget | undefined, esVersionInFileName?: boolean): string;
25export declare function isPolyfillsEntry(name: string): boolean;
26export declare function getWatchOptions(poll: number | undefined): Configuration['watchOptions'];
27export declare function assetNameTemplateFactory(hashFormat: HashFormat): (resourcePath: string) => string;
Note: See TracBrowser for help on using the repository browser.