The partial compiler will add a version number to the objects that are generated so that the linker can select the appropriate partial linker class to process the metadata. Previously this version matching was a simple number check. Now the partial compilation writes the current Angular compiler version into the generated metadata, and semantic version ranges are used to select the appropriate partial linker. PR Close #39847
		
			
				
	
	
		
			18 lines
		
	
	
		
			388 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			388 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("//tools:defaults.bzl", "ts_library")
 | |
| 
 | |
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| ts_library(
 | |
|     name = "linker",
 | |
|     srcs = ["index.ts"] + glob([
 | |
|         "src/**/*.ts",
 | |
|     ]),
 | |
|     deps = [
 | |
|         "//packages/compiler",
 | |
|         "//packages/compiler-cli/src/ngtsc/translator",
 | |
|         "@npm//@types/semver",
 | |
|         "@npm//semver",
 | |
|         "@npm//typescript",
 | |
|     ],
 | |
| )
 |