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
|
|
|
|
|
*/
|
|
|
|
|
import {EntryPoint} from '../packages/entry_point';
|
|
|
|
|
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-04-28 20:48:35 +01:00
|
|
|
writeBundle(entryPoint: EntryPoint, bundle: EntryPointBundle, transformedFiles: FileToWrite[]):
|
|
|
|
|
void;
|
2019-03-20 13:47:59 +00:00
|
|
|
}
|