Last change
on this file since fa375fe 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 | */
|
---|
8 | import { ScriptTarget } from 'typescript';
|
---|
9 | import { Configuration, SourceMapDevToolPlugin } from 'webpack';
|
---|
10 | import { ExtraEntryPoint, ExtraEntryPointClass } from '../../browser/schema';
|
---|
11 | export interface HashFormat {
|
---|
12 | chunk: string;
|
---|
13 | extract: string;
|
---|
14 | file: string;
|
---|
15 | script: string;
|
---|
16 | }
|
---|
17 | export declare function getOutputHashFormat(option: string, length?: number): HashFormat;
|
---|
18 | export declare type NormalizedEntryPoint = Required<ExtraEntryPointClass>;
|
---|
19 | export declare function normalizeExtraEntryPoints(extraEntryPoints: ExtraEntryPoint[], defaultBundleName: string): NormalizedEntryPoint[];
|
---|
20 | export 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 | */
|
---|
24 | export declare function getEsVersionForFileName(scriptTarget: ScriptTarget | undefined, esVersionInFileName?: boolean): string;
|
---|
25 | export declare function isPolyfillsEntry(name: string): boolean;
|
---|
26 | export declare function getWatchOptions(poll: number | undefined): Configuration['watchOptions'];
|
---|
27 | export declare function assetNameTemplateFactory(hashFormat: HashFormat): (resourcePath: string) => string;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.