File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
packages/ngtools/webpack/src/ivy Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -245,21 +245,6 @@ export function augmentHostWithSubstitutions(
245245 } ;
246246}
247247
248- export function augmentHostWithVersioning ( host : ts . CompilerHost ) : void {
249- const baseGetSourceFile = host . getSourceFile ;
250- host . getSourceFile = function ( ...parameters ) {
251- const file : ( ts . SourceFile & { version ?: string } ) | undefined = baseGetSourceFile . call (
252- host ,
253- ...parameters ,
254- ) ;
255- if ( file && file . version === undefined ) {
256- file . version = createHash ( 'sha256' ) . update ( file . text ) . digest ( 'hex' ) ;
257- }
258-
259- return file ;
260- } ;
261- }
262-
263248export function augmentProgramWithVersioning ( program : ts . Program ) : void {
264249 const baseGetSourceFiles = program . getSourceFiles ;
265250 program . getSourceFiles = function ( ...parameters ) {
You can’t perform that action at this time.
0 commit comments