2019-03-20 13:47:59 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
|
*/
|
2019-08-08 02:35:22 +03:00
|
|
|
import {EntryPointJsonProperty} from '../packages/entry_point';
|
2019-03-20 13:47:59 +00:00
|
|
|
import {EntryPointBundle} from '../packages/entry_point_bundle';
|
2019-04-28 20:48:35 +01:00
|
|
|
import {FileToWrite} from '../rendering/utils';
|
2019-03-20 13:47:59 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Responsible for writing out the transformed files to disk.
|
|
|
|
|
*/
|
|
|
|
|
export interface FileWriter {
|
2019-08-08 02:19:52 +03:00
|
|
|
writeBundle(
|
2019-08-08 02:35:22 +03:00
|
|
|
bundle: EntryPointBundle, transformedFiles: FileToWrite[],
|
2019-08-08 03:23:46 +03:00
|
|
|
formatProperties: EntryPointJsonProperty[]): void;
|
2019-03-20 13:47:59 +00:00
|
|
|
}
|