source: trip-planner-front/node_modules/@angular-devkit/build-angular/src/utils/index-file/augment-index-html.d.ts@ 6a3a178

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

initial commit

  • Property mode set to 100644
File size: 1.2 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 */
8export declare type LoadOutputFileFunctionType = (file: string) => Promise<string>;
9export declare type CrossOriginValue = 'none' | 'anonymous' | 'use-credentials';
10export interface AugmentIndexHtmlOptions {
11 html: string;
12 baseHref?: string;
13 deployUrl?: string;
14 sri: boolean;
15 /** crossorigin attribute setting of elements that provide CORS support */
16 crossOrigin?: CrossOriginValue;
17 files: FileInfo[];
18 /** Files that should be added using 'nomodule'. */
19 noModuleFiles?: FileInfo[];
20 /** Files that should be added using 'module'. */
21 moduleFiles?: FileInfo[];
22 loadOutputFile: LoadOutputFileFunctionType;
23 /** Used to sort the inseration of files in the HTML file */
24 entrypoints: string[];
25 /** Used to set the document default locale */
26 lang?: string;
27}
28export interface FileInfo {
29 file: string;
30 name: string;
31 extension: string;
32}
33export declare function augmentIndexHtml(params: AugmentIndexHtmlOptions): Promise<string>;
Note: See TracBrowser for help on using the repository browser.