The default value for `relativeLinkResolution` is changing from 'legacy' to 'corrected'. This migration updates `RouterModule` configurations that use the default value to now specifically use 'legacy' to prevent breakages when updating. PR Close #38698
		
			
				
	
	
		
			24 lines
		
	
	
		
			858 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			858 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| load("//tools:defaults.bzl", "ts_library")
 | |
| 
 | |
| ts_library(
 | |
|     name = "relative-link-resolution",
 | |
|     srcs = glob(["**/*.ts"]),
 | |
|     tsconfig = "//packages/core/schematics:tsconfig.json",
 | |
|     visibility = [
 | |
|         "//packages/core/schematics:__pkg__",
 | |
|         "//packages/core/schematics/migrations/google3:__pkg__",
 | |
|         "//packages/core/schematics/migrations/relative-link-resolution/google3:__pkg__",
 | |
|         "//packages/core/schematics/test:__pkg__",
 | |
|     ],
 | |
|     deps = [
 | |
|         "//packages/compiler-cli/src/ngtsc/annotations",
 | |
|         "//packages/compiler-cli/src/ngtsc/imports",
 | |
|         "//packages/compiler-cli/src/ngtsc/partial_evaluator",
 | |
|         "//packages/compiler-cli/src/ngtsc/reflection",
 | |
|         "//packages/core/schematics/utils",
 | |
|         "@npm//@angular-devkit/schematics",
 | |
|         "@npm//@types/node",
 | |
|         "@npm//typescript",
 | |
|     ],
 | |
| )
 |