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:
777 bytes
|
Rev | Line | |
---|
[6a3a178] | 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 | export interface InlineCriticalCssProcessOptions {
|
---|
| 9 | outputPath: string;
|
---|
| 10 | }
|
---|
| 11 | export interface InlineCriticalCssProcessorOptions {
|
---|
| 12 | minify?: boolean;
|
---|
| 13 | deployUrl?: string;
|
---|
| 14 | readAsset?: (path: string) => Promise<string>;
|
---|
| 15 | }
|
---|
| 16 | export declare class InlineCriticalCssProcessor {
|
---|
| 17 | protected readonly options: InlineCriticalCssProcessorOptions;
|
---|
| 18 | constructor(options: InlineCriticalCssProcessorOptions);
|
---|
| 19 | process(html: string, options: InlineCriticalCssProcessOptions): Promise<{
|
---|
| 20 | content: string;
|
---|
| 21 | warnings: string[];
|
---|
| 22 | errors: string[];
|
---|
| 23 | }>;
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.