Commit 306273a 1 parent 55d7f01 commit 306273a Copy full SHA for 306273a
File tree 1 file changed +0
-15
lines changed
packages/ngtools/webpack/src/ivy
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -245,21 +245,6 @@ export function augmentHostWithSubstitutions(
245
245
} ;
246
246
}
247
247
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
-
263
248
export function augmentProgramWithVersioning ( program : ts . Program ) : void {
264
249
const baseGetSourceFiles = program . getSourceFiles ;
265
250
program . getSourceFiles = function ( ...parameters ) {
You can’t perform that action at this time.
0 commit comments